Meaning of packet loss log message
Hello list, I'm seeing log entries such as this: switch_core_media.c:2509 [VBR]: Correcting calculated ptime value from [40] to [20] to compensate for [1] lost packet(s) They are often accompanied by very audible clicks without any PLC. RTCP does not appear to report related packet loss according to Chrome's webRTC stats. This is between SIP and portaudio. Does anyone know at which stage that packet loss occurs, or what could be causing it? Thanks, Thomas
P.S.: When adding real network packet loss, it gets reported properly and concealed well without any log messages. On 08/01/2017 04:23 PM, Thomas Auge wrote:
Hello list,
I'm seeing log entries such as this:
switch_core_media.c:2509 [VBR]: Correcting calculated ptime value from [40] to [20] to compensate for [1] lost packet(s)
They are often accompanied by very audible clicks without any PLC. RTCP does not appear to report related packet loss according to Chrome's webRTC stats. This is between SIP and portaudio.
Does anyone know at which stage that packet loss occurs, or what could be causing it?
Thanks,
Thomas
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Try turning off the autofix-timing in sofia On Tue, Aug 1, 2017 at 3:45 PM Thomas Auge <lists@virtues.net> wrote:
P.S.: When adding real network packet loss, it gets reported properly and concealed well without any log messages.
On 08/01/2017 04:23 PM, Thomas Auge wrote:
Hello list,
I'm seeing log entries such as this:
switch_core_media.c:2509 [VBR]: Correcting calculated ptime value from [40] to [20] to compensate for [1] lost packet(s)
They are often accompanied by very audible clicks without any PLC. RTCP does not appear to report related packet loss according to Chrome's webRTC stats. This is between SIP and portaudio.
Does anyone know at which stage that packet loss occurs, or what could be causing it?
Thanks,
Thomas
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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 #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
That fixed the problem on the Freeswitch side, thanks! Though now Chrome shows PLC without packet loss. Changing the rtp timer from "soft" to "none" had a similar effect. I'll have to do some more testing to rule out a local problem. On 08/01/2017 05:23 PM, Anthony Minessale wrote:
Try turning off the autofix-timing in sofia
On Tue, Aug 1, 2017 at 3:45 PM Thomas Auge <lists@virtues.net <mailto:lists@virtues.net>> wrote:
P.S.: When adding real network packet loss, it gets reported properly and concealed well without any log messages.
On 08/01/2017 04:23 PM, Thomas Auge wrote: > Hello list, > > I'm seeing log entries such as this: > > switch_core_media.c:2509 [VBR]: Correcting calculated ptime value from [40] to [20] to compensate for [1] lost packet(s) > > They are often accompanied by very audible clicks without any PLC. RTCP does not appear to report related packet loss > according to Chrome's webRTC stats. This is between SIP and portaudio. > > Does anyone know at which stage that packet loss occurs, or what could be causing it? > > Thanks, > > Thomas > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Those "clicks" we were looking for were 20ms gaps, the codec's ptime, without packet loss or PLC. I can't say if autofix-timing was one of several causes or just an effect. What solved the main problem for our testers was setting the RTP timer from "soft" to "none". With the soft timer on connections between Chrome and FS a bit of jitter causes these dropouts. Chrome M60 has all kinds of problems related to local sample rates and its jitter buffer, and we ran with the soft timer for years without complaints. I doubt it's a Freeswitch problem. This is just an FYI. On 08/01/2017 05:23 PM, Anthony Minessale wrote:
Try turning off the autofix-timing in sofia
On Tue, Aug 1, 2017 at 3:45 PM Thomas Auge <lists@virtues.net <mailto:lists@virtues.net>> wrote:
P.S.: When adding real network packet loss, it gets reported properly and concealed well without any log messages.
On 08/01/2017 04:23 PM, Thomas Auge wrote: > Hello list, > > I'm seeing log entries such as this: > > switch_core_media.c:2509 [VBR]: Correcting calculated ptime value from [40] to [20] to compensate for [1] lost packet(s) > > They are often accompanied by very audible clicks without any PLC. RTCP does not appear to report related packet loss > according to Chrome's webRTC stats. This is between SIP and portaudio. > > Does anyone know at which stage that packet loss occurs, or what could be causing it? > > Thanks, > > Thomas > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
Thomas Auge