Wowza Community

A key frame has not been received in this audio and video stream

I am encoding h264 via webrtc (Chrome) and I’m receiving these errors continuously in the logs. Any idea how to solve this?

Bitrate is 800kbps

A key frame has not been received in this audio and video stream for: 5.039 seconds, which is over the max chunk duration of: 5.0 seconds

This sounds related to your question about the webrtc keyframe interval. If your HLS chunk duration is set to 5 seconds, and the keyframe interval is fewer than one per 5 seconds, you’ll see such an error. In your previous question you mentioned that you set they keyframe inerval on your webrtc stream to 90, so if your framerate is any less than 18fps, you won’t have a keyframe frequently enough. You’ll need to either increase your frame rate, or decrease your keyframe interval.

Thank you so much for your answers. If you’d be interested in doing a quick phone call sometime I have few questions I’d like to ask you, I would PayPal you money for your time.

My email is codyuptain27@gmail.com

I had the same problem.

You can set max chunk duration back to the default, just add to Application.xml, LiveStreamPacketizer > Properties:

<Property>
	<Name>chunkDurationOverflowThreshold</Name>
	<Value>50000</Value>
	<Type>Integer</Type>
</Property>