<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">1.2 is quite old, why would you be using it? Have you tried on top of 1.4?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 8, 2015, at 2:11 PM, Kamil Nigmatullin <<a href="mailto:kamil.nigmatullin@gmail.com" class="">kamil.nigmatullin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi Dragos, <br class=""></div>I tried to use your patch but have no luck with compiling it. <br class=""><br class=""></div>I clonne stable 1.2 and then replace mod_opus.c with your code. Maybe do you know how to fix it?<br class=""><div class=""><div class=""><div class=""><div class=""><br class="">This is what I get:<br class="">d_opus/mod_opus.c -fPIC -DPIC -o .libs/mod_opus.o<br class="">/usr/src/freeswitch/src/mod/codecs/mod_opus/mod_opus.c: In function 'switch_opus_fmtp_parse':<br class="">/usr/src/freeswitch/src/mod/codecs/mod_opus/mod_opus.c:155:18: error: 'switch_codec_fmtp_t' has no member named 'stereo'<br class="">/usr/src/freeswitch/src/mod/codecs/mod_opus/mod_opus.c: In function 'switch_opus_decode':<br class="">/usr/src/freeswitch/src/mod/codecs/mod_opus/mod_opus.c:423:3: error: statement with no effect [-Werror=unused-value]<br class="">cc1: all warnings being treated as errors<br class="">make[4]: *** [mod_opus.lo] Error 1<br class="">make[3]: *** [all] Error 1<br class="">make[2]: *** [mod_opus-all] Error 1<br class="">make[1]: *** [mod_opus] Error 2<br class="">make: *** [mod_opus] Error 2<br class=""><br class=""></div></div></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-04-14 14:52 GMT+06:00 Dragos Oancea <span dir="ltr" class=""><<a href="mailto:droancea@yahoo.com" target="_blank" class="">droancea@yahoo.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div class=""><br class=""></div><div class="">Hi Kamil,<br class=""></div><div class=""><br class=""></div><div class="">I've done a patch for Opus with FEC , but it has not been merged:</div><div class=""><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/184/overview" target="_blank" class="">https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/184/overview</a></div><div class="">I was inspired by how they've done it with SILK.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Dragos Oancea</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">On 2015-04-13 16:49, Kamil Nigmatullin wrote:</div><div class="">> Hello. </div><div class="">> </div><div class="">> Anybody from developers could please clarify if FreeSWITCH uses</div><div class="">> Forward Error Correction feature in opus codec? We actually are not a</div><div class="">> specialists in C and cannot fully understand how decode function works</div><div class="">> in 414 line. According to opus documentation decode function is</div><div class="">> called with special flag if previous packet is lost in order to call</div><div class="">> fec feature. In mod_opus it is hard to say for me as i don't see i or</div><div class="">> i+1 packets. Thanks </div><div class="">> _________________________________________________________________________</div><div class="">> Professional FreeSWITCH Consulting Services: </div><div class="">> <a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a></div><div class="">> <a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.freeswitchsolutions.com</a></div><div class="">> </div><div class="">> Official FreeSWITCH Sites</div><div class="">> <a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a></div><div class="">> <a href="http://confluence.freeswitch.org/" target="_blank" class="">http://confluence.freeswitch.org</a></div><div class="">> <a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a></div><div class="">> </div><div class="">> FreeSWITCH-users mailing list</div><div class="">> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a></div><div class="">> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div class="">> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div class="">> <a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Kamil Nigmatullin<br class="">Tel: 77272323748<br class="">mob: 7 (707) 2517003<br class="">Skype: kamil.nigmatullin</div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>