[opus] Using FEC

Elinor Alpay elinor at tunityapp.com
Thu Mar 22 09:48:34 UTC 2018


I'm trying to use the FEC feature.
I have a service which does the encoding with OPUS_SET_INBAND_FEC(1)
and OPUS_SET_PACKET_LOSS_PERC(20) with 10ms packets.

I'm not clear on the decoding process though.
1- When a packet is lost, do I need to call decode with fec=1 ONLY or do I
need to call decode with fec=0 after as well?
2- How do I know up front the size of the pcm that I send to decode with
fec enabled?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20180322/2425e445/attachment-0001.html>

More information about the opus mailing list