Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] VP8 conference FIR Signal not always sent when frames are dropped


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dodu at hotmail.co.uk
Guest





PostPosted: Thu Aug 18, 2022 9:51 pm    Post subject: [Freeswitch-users] VP8 conference FIR Signal not always sent Reply with quote

Hi,

I am using Verto to connect to FreeSwitch over webRTC in a conference call. This works fine most of the time however when using an older device that does not support hardware acceleration for the video encoding, it appears that some frames are dropped. The CPU is pegged at 100% utilisation, with 60-80% of that being from the chrome process. This is understandable when using older hardware however when this occurs FreeSwitch fails to send FIR packets to get a new keyframe, leading to the ‘video mute’ image being shown until the next scheduled keyframe (which with VP8 is, by default, around 3000 frames, equivalent to 100 seconds at 30fps). The client seems to be unaware of any issues as it continues to encode frames and send them over the network, leading me to believe it is an issue with FreeSwitch.

My current solution is to enable the ‘kf-max-dist’ parameter in ‘vpx.conf.xml’ however this leads to occasional stuttering, I assume this is because it must encode a full frame every 10 seconds.

The other solution I have tested is swapping to the H.264 codec (the only other codec supported by webRTC) which makes the issue less noticeable however the quality of the stream drops significantly when no FIR is requested. H.264 isn’t an option for me as some of my target clients are Android devices which do not support H.264 over webRTC.

Given that sometimes the session works as expected with FIR packets being sent when needed, leading to a small video stutter before it recovers, I am unsure how to fix it or what logs etc to provide.

Any pointers would be appreciated 😊

Thanks
Josh
Back to top
dodu at hotmail.co.uk
Guest





PostPosted: Fri Aug 26, 2022 4:30 am    Post subject: [Freeswitch-users] VP8 conference FIR Signal not always sent Reply with quote

Hi,

I am using Verto to connect to FreeSwitch over webRTC in a conference call. This works fine most of the time however when using an older device that does not support hardware acceleration for the video encoding, it appears that some frames are dropped. The CPU is pegged at 100% utilisation, with 60-80% of that being from the chrome process. This is understandable when using older hardware however when this occurs FreeSwitch fails to send FIR packets to get a new keyframe, leading to the ‘video mute’ image being shown until the next scheduled keyframe (which with VP8 is, by default, around 3000 frames, equivalent to 100 seconds at 30fps). The client seems to be unaware of any issues as it continues to encode frames and send them over the network, leading me to believe it is an issue with FreeSwitch.

My current solution is to enable the ‘kf-max-dist’ parameter in ‘vpx.conf.xml’ however this leads to occasional stuttering, I assume this is because it must encode a full frame every 10 seconds.

The other solution I have tested is swapping to the H.264 codec (the only other codec supported by webRTC) which makes the issue less noticeable however the quality of the stream drops significantly when no FIR is requested. H.264 isn’t an option for me as some of my target clients are Android devices which do not support H.264 over webRTC.

Given that sometimes the session works as expected with FIR packets being sent when needed, leading to a small video stutter before it recovers, I am unsure how to fix it or what logs etc to provide.

Any pointers would be appreciated 😊

Thanks
Josh
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services