new.livestream.com API to get RTSP

泄露秘密 提交于 2019-12-03 00:50:33

I Know this is a bit old, but i was asking that very same question and i this is how i've done it:

I've found this URL/API call, for the new livestream, to get the details of an event's stream

http://new.livestream.com/api/accounts/[account_id]/events/[event_id]/viewing_info

This gives you a JSON response with details of streams for that event, including the URL of the RTSP stream (streamInfo -> rtsp_url)

Just be sure to call this before playing a livestream event, because the URL changes from time to time (i think they use some sort of load balancing/CDN network or something) and you should get the latest URL each time.

BTW: To get the [account_id] and [event_id] just look at the URL of an event in new.livestream.com the URLs are something like

or

or

Also, i'm not sure if this is a public API, but it works for now.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!