# Reduce delay when send rtmp and viewing from player with https streamlock also webrtc play problem

**URL:** https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627
**Category:** Wowza Streaming Engine
**Tags:** webrtc
**Created:** [July 23, 2020, 1:03pm UTC](https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627 "2020-07-23T13:03:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AGUSTIN\_TOURON1](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@AGUSTIN\_TOURON1](https://community.wowza.com/u/AGUSTIN_TOURON1)
#### Post date: [July 23, 2020, 1:03pm UTC](https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627/1 "2020-07-23T13:03:50Z")

</div>

I am sending an RTMP to my Wowza Stream Engine from ffmpeg. I receive the stream in “Incoming Streams”, everything is correct.

Also, I have streamlock on port 443, which works fine too, but I have an approximate 40 second delay.

How can I reduce that delay as much as possible?

I have followed the steps of [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) to see if I could have the signal in webrtc with less delay, but once everything is configured, I get an error in the player [https://www.wowza.com/developer/webrtc/dev-view-play](https://www.wowza.com/developer/webrtc/dev-view-play)

---

<div class="post-metadata">

### Author: ![Anthony\_Lazaro1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Anthony\_Lazaro1](https://community.wowza.com/u/Anthony_Lazaro1)
#### Post date: [July 23, 2020, 2:23pm UTC](https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627/2 "2020-07-23T14:23:38Z")

</div>

Can you provide more details around your browser, your webrtc config (TCP or UDP). This looks like a setup issue on WebRTC.

---

<div class="post-metadata">

### Author: ![AGUSTIN\_TOURON1](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@AGUSTIN\_TOURON1](https://community.wowza.com/u/AGUSTIN_TOURON1)
#### Post date: [July 23, 2020, 2:43pm UTC](https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627/3 "2020-07-23T14:43:29Z")

</div>

I use Chrome version 81 and i try with TCP config and then with UDP, same result in both cases

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [July 23, 2020, 5:14pm UTC](https://community.wowza.com/t/reduce-delay-when-send-rtmp-and-viewing-from-player-with-https-streamlock-also-webrtc-play-problem/55627/4 "2020-07-23T17:14:12Z")

</div>

That error is specifically caused by not correctly configuring webrtc on port 443 in the Engine manager or if you configured it manually in the xml, you missed the http provider step on the 443 port. Did you configure the SSL with the port 443 in Engine Manager or in the xml? They have different steps. You **HAVE** to configure the http property if you did configure port 443 in the xml. You do not have to do that step in the Engine Manager.

Here is the doc you need to follow:

[https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine)

Have you gone into Engine Manager to where the port 443 is configured and make sure that SSL certificate matches exactly what you either entered in the xml or what Wowza assigned to you as your StreamLock SSL cert?

If you have done all these things, then I would say submit a support ticket so we can debug properly for you. In the forums, it can be guessing while in a ticket, we can view your full config and quickly identify the issue.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
