WebRTC Playback "Pulsing" Issue

When encoding via WebRTC and playing back with WebRTC every other second the video "throbs" or "pulses". The quality is fine but it seems to blur in and out in a pulsing fashion. I have tested this with several different cameras and computers and browsers. It doesn't matter if the codec is VP8/H264 it is happening with both.

If I encode from a software encoder (OBS) the WebRTC playback is fine. Issue only happens with WebRTC encoding.

1 Reply

That's a result of wowza sending intraframe requests to the webrtc publishing client, which seems to happen once per second by default. You can change the keyframe interval via WebRTCSession.setPublishKeyFrameInterval()

Also, increasing your publish bitrate can smooth out that pulsing effect a bit

I am so thankful for your comment. I created a module that changes the keyframe to every 90 frames and not only is the pulsing effect significantly reduced, but I also no longer receive green artifacts. You are awesome, you saved me so much time.