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

Dragos Oancea doancea at orange-vallee.net
Tue Oct 6 13:30:26 MSD 2015


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
> 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/76eb2df1/attachment.html 


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