# Delay in getting media after starting stream to custom rtmp url

**URL:** <https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668>\
**Category:** API and Webhooks\
**Created:** [May 5, 2021, 4:45pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668 "2021-05-05T16:45:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bohdan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bohdan/32/17921_2.png) [@bohdan](https://devforum.zoom.us/u/bohdan)\
**Post date:** [May 5, 2021, 4:45pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/1 "2021-05-05T16:45:09Z")

</div>

**Description**  
When user is clicking Start button we are performing two requests to Zoom API.

- `update_livestream` with our custom stream\_url and stream\_key
- `update_livestream_status` with `action: "start"`

Also we have ffmpeg which is listening to rtmp url and it starts to receive media after ~2 min after zoom meeting was updated, and it is not something regular, happening from time to time.

**Issue**

Sometimes we are receiving media ~2 min after updating meeting.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
API with OAuth

**Which Endpoint/s?**

- `update_livestream`
- `update_livestream_status`

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 6, 2021, 2:54pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/2 "2021-05-06T14:54:00Z")

</div>

Hey @bohdan,

Were you experiencing this issue yesterday, or has this been occurring intermittently over time/still seeing this? The reason I ask is because we experienced some issues with Livestreaming [yesterday](https://status.zoom.us/incidents/58lqnxrt78qx) that could have affected this as well.

Let me know—thanks,  
Will

---

<div class="post-metadata">

**Author:** ![bohdan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bohdan/32/17921_2.png) [@bohdan](https://devforum.zoom.us/u/bohdan)\
**Post date:** [May 6, 2021, 3:01pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/3 "2021-05-06T15:01:54Z")

</div>

Hi @will.zoom. Thank you for your reply.

Yes, we encountered it yesterday. Thank you for letting know.

And a small question how much time does it take to actually start streaming to provided url after updating status?

Thank you!

---

<div class="post-metadata">

**Author:** ![bohdan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bohdan/32/17921_2.png) [@bohdan](https://devforum.zoom.us/u/bohdan)\
**Post date:** [May 6, 2021, 3:51pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/4 "2021-05-06T15:51:12Z")

</div>

And also we are facing it right now, but even worse we are sending `update_livestream` and `update_livestream_status` requests but meeting is not starting to stream at all, all requests returned 204 status. And meeting has status started. Do you want me to provide any details, meeting id or something like that?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 7, 2021, 3:45pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/5 "2021-05-07T15:45:37Z")

</div>

Hi @bohdan,

Can you please share the following with us at [developersupport@zoom.us](mailto:developersupport@zoom.us) so that we can further investigate?

- Full request URL/body you’re using
- Meeting ID
- Approximate timestamps of the requests

Thank you,  
Will

---

<div class="post-metadata">

**Author:** ![bohdan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bohdan/32/17921_2.png) [@bohdan](https://devforum.zoom.us/u/bohdan)\
**Post date:** [May 7, 2021, 3:48pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/6 "2021-05-07T15:48:55Z")

</div>

Hi! @will.zoom, thank you. Will do.

---

<div class="post-metadata">

**Author:** ![bohdan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bohdan/32/17921_2.png) [@bohdan](https://devforum.zoom.us/u/bohdan)\
**Post date:** [May 7, 2021, 4:22pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/7 "2021-05-07T16:22:59Z")

</div>

@will.zoom Sorry for taking your time, looks like it was issue on my side that I missed. Sorry and thank you for your time!

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 10, 2021, 2:27pm UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/8 "2021-05-10T14:27:25Z")

</div>

Glad you were able to figure it out! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 10, 2021, 12:28am UTC](https://devforum.zoom.us/t/delay-in-getting-media-after-starting-stream-to-custom-rtmp-url/49668/9 "2021-06-10T00:28:09Z")

</div>

Closed on June 10, 2021, 12:28am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
