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

**URL:** <https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [January 15, 2018, 4:23pm UTC](https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571 "2018-01-15T16:23:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cody\_Uptain2](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cody\_Uptain2](https://community.wowza.com/u/Cody_Uptain2)\
**Post date:** [January 15, 2018, 4:23pm UTC](https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571/1 "2018-01-15T16:23:15Z")

</div>

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

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Jay\_Charles1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jay_charles1/32/514_2.png) [@Jay\_Charles1](https://community.wowza.com/u/Jay_Charles1)\
**Post date:** [January 15, 2018, 4:32pm UTC](https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571/2 "2018-01-15T16:32:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Cody\_Uptain2](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cody\_Uptain2](https://community.wowza.com/u/Cody_Uptain2)\
**Post date:** [January 18, 2018, 11:43am UTC](https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571/3 "2018-01-18T11:43:42Z")

</div>

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](mailto:codyuptain27@gmail.com)

---

<div class="post-metadata">

**Author:** ![Marian\_Toncea](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@Marian\_Toncea](https://community.wowza.com/u/Marian_Toncea)\
**Post date:** [February 27, 2018, 8:43am UTC](https://community.wowza.com/t/a-key-frame-has-not-been-received-in-this-audio-and-video-stream/50571/4 "2018-02-27T08:43:11Z")

</div>

I had the same problem.

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

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

```
