# Wowza WebRTC: Delay in start up of stream from camera

**URL:** <https://community.wowza.com/t/wowza-webrtc-delay-in-start-up-of-stream-from-camera/95855>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder, webrtc\
**Created:** [January 26, 2023, 3:26pm UTC](https://community.wowza.com/t/wowza-webrtc-delay-in-start-up-of-stream-from-camera/95855 "2023-01-26T15:26:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shibi\_Chacko](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@Shibi\_Chacko](https://community.wowza.com/u/Shibi_Chacko)\
**Post date:** [January 26, 2023, 3:26pm UTC](https://community.wowza.com/t/wowza-webrtc-delay-in-start-up-of-stream-from-camera/95855/1 "2023-01-26T15:26:18Z")

</div>

Hi,

While we try to load the stream on our webpage using WebRTC observed the initial delay(or loading time 3-4 secs on avg.) before playing the live stream.

When we try as soon as after creating the stream file, it says "waiting for stream " or “stream not loaded” and after 3-4 seconds delay it loads works fine.

otherwise after stream starts there is no much delay(about 1-2 secs max).

Can you please let us know how do we minimise the initial delay ?

Thanks.

---

<div class="post-metadata">

**Author:** ![Charoenporn\_Seangch1](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@Charoenporn\_Seangch1](https://community.wowza.com/u/Charoenporn_Seangch1)\
**Post date:** [March 1, 2023, 11:20am UTC](https://community.wowza.com/t/wowza-webrtc-delay-in-start-up-of-stream-from-camera/95855/2 "2023-03-01T11:20:28Z")

</div>

I have this problem too.

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [March 7, 2023, 8:57pm UTC](https://community.wowza.com/t/wowza-webrtc-delay-in-start-up-of-stream-from-camera/95855/3 "2023-03-07T20:57:39Z")

</div>

@Charoenporn_Seangch1 I would recommend having your source keyframe interval setup to one every second to decrease the time to first frame.

For more RTSP -\> WebRTC tips, please review this article:  
[https://www.wowza.com/docs/ingest-rtsp-srt-or-rtmp-streams-into-wowza-streaming-engine-for-playback-with-webrtc](https://www.wowza.com/docs/ingest-rtsp-srt-or-rtmp-streams-into-wowza-streaming-engine-for-playback-with-webrtc)
