[opus] Using Opus FEC

Jean-Marc Valin jmvalin at jmvalin.ca
Thu Jan 22 17:47:58 PST 2015


On 22/01/15 08:03 PM, Daniel K wrote:
> How do I know if this *previous* packet contains FEC information?
> If not, I want to fallback to invoking PLC for obtaining samples. Or
> does the decode_fec call automatically use PLC internally as a fallback
> if FEC is not available?

The decoder always falls back to PLC if you attempt to decode FEC and
there's no FEC data, so no need to explicitly check.

	Jean-Marc


More information about the opus mailing list