VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
infinite3219 at gmail.com Guest
|
Posted: Fri Mar 12, 2021 1:49 pm Post subject: [Freeswitch-users] Opus packet loss |
|
|
Hi,
We use FreeSwitch 1.10.5 with Opus audio for clients. We target voice quality to be wideband. The config settings are below. We also set a jitter buffer in the dialplan.
Is there a downside to increasing the packet loss percent to 40-50% other than using more bandwidth? Is there a voice quality impact if you set it too high (what would be considered too high)?
Thanks.
<param name="use-vbr" value="1"/>
<param name="use-dtx" value="1"/>
<param name="complexity" value="10"/>
<param name="packet-loss-percent" value="30"/>
<param name="keep-fec-enabled" value="1"/>
<param name="use-jb-lookahead" value="1"/>
<param name="maxaveragebitrate" value="40000"/>
<param name="maxplaybackrate" value="16000"/>
<param name="sprop-maxcapturerate" value="16000"/>
<param name="adjust-bitrate" value="1"/>
</settings> |
|
Back to top |
|
|
brian at freeswitch.com Guest
|
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Sat Mar 13, 2021 7:51 am Post subject: [Freeswitch-users] Opus packet loss |
|
|
When trying to understand how it works make sure you are not mixing decoding side settings with the encoding side settings.packet-loss-percent is encoding side and is the initial value for loss if you use adjust-bitrate (callback with SCC_AUDIO_PACKET_LOSS from the core) .
The callback comes only if there is incoming RTCP - which for audio is typically at 5 seconds interval.So the adjust-bitrate feature will update the loss too, not only the bitrate.
Otherwise, without adjust-birate, it's the default value for OPUS_SET_PACKET_LOSS_PERC() which will stay like this along the call and depending on the preset bitrate it will generate a certain amount of FEC on top of the payload of some of the packets (encoder decisions) . So no, you should not set that very high, since you can't know the real network conditions before the call is made. 15 or 20 are good values.
On Fri, Mar 12, 2021 at 9:05 PM Brian West <brian@freeswitch.com (brian@freeswitch.com)> wrote:
|
|
Back to top |
|
|
mario_fs at mgtech.com Guest
|
Posted: Mon Mar 15, 2021 12:45 pm Post subject: [Freeswitch-users] Opus packet loss |
|
|
Could it be related to this which is outstanding?, I can duplicate it every time:https://github.com/signalwire/freeswitch/issues/963
Opus warbly, drops sections or unintelligible audio due to gaps in RTP timestamps Quote: | On Mar 13, 2021, at 4:26 AM, Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:
When trying to understand how it works make sure you are not mixing decoding side settings with the encoding side settings.packet-loss-percent is encoding side and is the initial value for loss if you use adjust-bitrate (callback with SCC_AUDIO_PACKET_LOSS from the core) .
The callback comes only if there is incoming RTCP - which for audio is typically at 5 seconds interval.So the adjust-bitrate feature will update the loss too, not only the bitrate.
Otherwise, without adjust-birate, it's the default value for OPUS_SET_PACKET_LOSS_PERC() which will stay like this along the call and depending on the preset bitrate it will generate a certain amount of FEC on top of the payload of some of the packets (encoder decisions) . So no, you should not set that very high, since you can't know the real network conditions before the call is made. 15 or 20 are good values.
On Fri, Mar 12, 2021 at 9:05 PM Brian West <brian@freeswitch.com (brian@freeswitch.com)> wrote:
_________________________________________________________________________The FreeSWITCH project is sponsored by SignalWire sales@freeswitch.com (sales@freeswitch.com)https://freeswitch.comOfficial FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.comFreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswitch.com
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|