[Freeswitch-users] Opus PLC issue - can this be a bug?

Thomas Auge lists at virtues.net
Wed Oct 7 04:46:27 MSD 2015


For some reason at 48khz with inbandfec=1 and dtx=0, if a packet is lost, Chrome sends something, which triggers that 
FEC error and causes a robotic sound. Once we either enabled DTX or explicitly disabled FEC, the FEC errors vanished and 
the robotic voice was gone. I think the RTCP errors were a separate issue.

Thanks for the quick fix!


On 10/06/2015 09:46 AM, Anthony Minessale wrote:
> I did a patch last night that has it working the best I can possibly do.  40% packet loss with crystal clear audio and 
> no error messages.
> I think the errors were a result of rtcp payload collision which is now fixed.
>
>
>
> On Tue, Oct 6, 2015 at 4:30 AM, Dragos Oancea <doancea at orange-vallee.net <mailto:doancea at orange-vallee.net>> wrote:
>
>     Hi
>
>     I have tested yesterday FS master (b5e486fd5c9bfb52923b30b8b53037c39cdb8665) with Opus PLC and I can tell you that
>     it works just fine .
>     If there is/was a bug it must have been because of rtp & rtcp mux/demux ,  by looking at the
>     error message about payload type. Do those errors show at regular intervals ? eg: 5 seconds , which can be the
>     rtcp interval ?
>
>     Regards,
>     Dragos
>
>
>
>     On 10/05/2015 12:25 AM, Stanislav Sinyagin wrote:
>>     here's a great deal of advice on how to simulate a random packet drop:
>>     http://stackoverflow.com/questions/614795/simulate-delayed-and-dropped-packets-on-linux
>>
>>
>>
>>     On Sun, Oct 4, 2015 at 11:19 PM, Thomas <lists at virtues.net <mailto:lists at virtues.net>> wrote:
>>
>>         Just retested with latest master, still there.
>>
>>         It also sometimes includes this:
>>
>>         switch_core_media.c:2421 alternate payload received (received 72, expecting 111)
>>         switch_core_media.c:2444 Could not change to payload type 72, ignoring...
>>
>>         or this
>>
>>         mod_opus.c:346 OPUS_INVALID_PACKET ! nb_opus_frames: -4
>>         mod_opus.c:836 Decoder Error: corrupted stream fs:4080 plc:false!
>>         switch_core_io.c:1244 Codec OPUS (STANDARD) decoder error!
>>
>>         When I test through echo without any decoding, it sounds surprisingly good for 5% packet loss. So it seems
>>         like an FS issue. It's quite strange though. Will file a jira.
>>
>>
>>
>>         On 04.10.2015 16:37, Brian West wrote:
>>>         Have you tried with code from today?  we had a regression I think that was resolved late yesterday.
>>>
>>>         On Sun, Oct 4, 2015 at 1:41 PM, Thomas <lists at virtues.net <mailto:lists at virtues.net>> wrote:
>>>
>>>             Hello list,
>>>
>>>             on a connection with an unfortunate amount of packet loss, I'm getting a lot of these:
>>>
>>>             mod_opus.c:289 FEC in CELT_ONLY mode ?!
>>>
>>>             ... with the occasional ...
>>>
>>>             mod_opus.c:801 Decoder Error: corrupted stream fs:4080 plc:false!
>>>             switch_core_io.c:622 Codec RAW Signed Linear (16 bit) decoder error! [9]
>>>
>>>             ... and ...
>>>
>>>             switch_rtp.c:875 Invalid STUN/ICE packet received 493 bytes
>>>
>>>             That's accompanied by robotic distortion.
>>>
>>>             This sounds more like FS is receiving total junk rather than missing packets, but surely there must be
>>>             checksums
>>>             preventing errors inside these packets? Can this really be a bug in FS, or do I need an exorcist for
>>>             that internet
>>>             connection? :)
>>>
>>>             Cheers!
>>>
>>>             Thomas
>>>
>>>             P.S.: Last nights master
>>>
>>>
>>>             _________________________________________________________________________
>>>             Professional FreeSWITCH Consulting Services:
>>>             consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>             http://www.freeswitchsolutions.com
>>>
>>>             Official FreeSWITCH Sites
>>>             http://www.freeswitch.org
>>>             http://confluence.freeswitch.org
>>>             http://www.cluecon.com
>>>
>>>             FreeSWITCH-users mailing list
>>>             FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>             http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>             UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>             http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>>         -- 
>>>
>>>         */Brian West/*
>>>         brian at freeswitch.org <mailto:brian at freeswitch.org>
>>>
>>>
>>>         */Twitter: @FreeSWITCH , @briankwest/*
>>>         http://www.freeswitchbook.com
>>>         http://www.freeswitchcookbook.com
>>>
>>>         Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch
>>>         <https://www.reddit.com/r/freeswitch>
>>>
>>>         *T:*+19184209001 <tel:%2B19184209001> | *F:*+19184209002 <tel:%2B19184209002> | *M:*+1918424WEST (9378)
>>>         *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>
>>>
>>>
>>>         _________________________________________________________________________
>>>         Professional FreeSWITCH Consulting Services:
>>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>         http://www.freeswitchsolutions.com
>>>
>>>         Official FreeSWITCH Sites
>>>         http://www.freeswitch.org
>>>         http://confluence.freeswitch.org
>>>         http://www.cluecon.com
>>>
>>>         FreeSWITCH-users mailing list
>>>         FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>         http://www.freeswitch.org
>>
>>
>>         _________________________________________________________________________
>>         Professional FreeSWITCH Consulting Services:
>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://confluence.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>         http://www.freeswitch.org
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://confluence.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>     http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net <http://irc.freenode.net> #freeswitch ☞ _http://freeswitch.org/g+_
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org <mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900
>
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151006/7406388a/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list