<div dir="ltr">Hi,<div><br></div><div>I'm trying to use the FEC feature.</div><div>I have a service which does the encoding with OPUS_SET_INBAND_FEC(1)</div><div>and <span style="color:rgb(61,61,61);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:nowrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OPUS_SET_PACKET_LOSS_PERC(20) with 10ms packets.</span></div><div><br></div><div><font color="#3d3d3d"><span style="white-space:nowrap">I'm not clear on the decoding process though.</span></font></div><div><font color="#3d3d3d"><span style="white-space:nowrap">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?</span></font></div><div><font color="#3d3d3d"><span style="white-space:nowrap">2- How do I know up front the size of the pcm that I send to decode with fec enabled?<br></span></font><br class="gmail-Apple-interchange-newline"></div><div>Thanks,</div><div>Elinor</div></div>