# Custom Live Stream from APIS is not working

**URL:** <https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839>\
**Category:** API and Webhooks\
**Created:** [January 18, 2021, 6:20am UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839 "2021-01-18T06:20:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvardhan12137](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnuvardhan12137/32/19510_2.png) [@vishnuvardhan12137](https://devforum.zoom.us/u/vishnuvardhan12137)\
**Post date:** [January 18, 2021, 6:20am UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839/1 "2021-01-18T06:20:00Z")

</div>

I have zoom pro account which is needed for custom live streaming.

**Steps followed:-**

1. Update live stream details for meeting using PATCH [https://api.zoom.us/v2/meetings/{meeting\_id}/livestream](https://api.zoom.us/v2/meetings/%7Bmeeting_id%7D/livestream) api  
req payload:  
{  
‘stream\_url’: ‘[http://guru-10937bc9.localhost.run/live\_stream/97263181491](http://guru-10937bc9.localhost.run/live_stream/97263181491)’,  
‘stream\_key’: ‘contact@gnani.ai’,  
‘page\_url’: ‘[http://guru-10937bc9.localhost.run/live\_stream\_page/97263181491](http://guru-10937bc9.localhost.run/live_stream_page/97263181491)’  
}  
response: 204

[http://guru-10937bc9.localhost.run/live\_stream\_page/97263181491](http://guru-10937bc9.localhost.run/live_stream_page/97263181491) -\> responds with 200 ok  
[http://guru-10937bc9.localhost.run/live\_stream/97263181491](http://guru-10937bc9.localhost.run/live_stream/97263181491) -\> resonds with 200 ok

1. Start live stream for meeting using PATCH [https://api.zoom.us/v2/meetings/97263181491/livestream/status](https://api.zoom.us/v2/meetings/97263181491/livestream/status) api  
req payload:  
{  
“action”: “start”,  
“settings”: {  
“active\_speaker\_name”: False,  
“display\_name”: “inc”  
}  
}  
response: 204

**Expected Behaviour:-**  
Live stream should be started and live streaming should be sent to the mentioned urls in update live stream api

**Actual Behaviour:-**  
At the top it displays LIVE preparing and after a long it displays a toast saying unable to live stream, you need to restart streaming

If I manually press on Stream on Custom Live Streaming Service zoom page opens and displays Invalid input parameters. (2) Error

**Screenshots**

 ![Screenshot from 2021-01-18 11-31-03](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/4/44e537f6d659bcd6bc33ba7e46d1cdbad1247a5b.png) ![Screenshot from 2021-01-18 11-33-45](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/a/ea2e1579184a4c70b129dfaa9d1f5843669cfbb6.png)

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [January 18, 2021, 6:20am UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839/2 "2021-01-18T06:20:52Z")

</div>

Hey @vishnuvardhan12137

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout these related threads that may have the answer you are looking for:

> [@About using custom live streaming(+ rtmp)](https://devforum.zoom.us/t/-/19364):
>
> First of all, I’m a beginner programmer. My question is ・Is there a way to test using rtmp(localhost) in custom live streaming? →for example, 「rtmp://127.0.0.1:1935/live」like this. ↓I searched some questions. It seems to make an app if you want to use live streaming. I’m not sure. ・If I want to use custom live streaming, do I have to make an app through zoom market place? I read the article and it is written 「The streaming APIs are supported only through our marketplace through OAuth toke…

> [@Creating zoom app that get stream live data](https://devforum.zoom.us/t/-/15552):
>
> Hey, i want to develop new add-on or zoom application that can provide new features using zoom platform. i need to get audio live stream - how can i get it via your api? Thanks!

If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![vishnuvardhan12137](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnuvardhan12137/32/19510_2.png) [@vishnuvardhan12137](https://devforum.zoom.us/u/vishnuvardhan12137)\
**Post date:** [January 18, 2021, 10:41am UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839/3 "2021-01-18T10:41:48Z")

</div>

The issue was, I should’ve used **RMTP** instead of **HTTP**

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 19, 2021, 6:43pm UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839/4 "2021-01-19T18:43:08Z")

</div>

Hey @vishnuvardhan12137,

I’m glad to hear that you resolved your issues! If you encounter any further issues or questions, please don’t hesitate to reach out.

Thanks,  
Max

---

<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:** [February 19, 2021, 4:43am UTC](https://devforum.zoom.us/t/custom-live-stream-from-apis-is-not-working/40839/5 "2021-02-19T04:43:09Z")

</div>

Closed on February 19, 2021, 4:43am UTC

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