I need to get an RTSP stream of a livestream.com account. I was reading some of the API documentation for livestream.com, but they have a new website (new.livestream.com), and I cannot find any API documentation talking about that. Does anybody knows if there is an API for the new livestream.com website which allows me to get an RTSP stream? Thanks in advance.
相关问题
- Design RESTful service with multiple ids
- Axios OPTIONS instead of POST Request. Express Res
- Plain (non-HTML) error pages in REST api
- Laravel 5.1 MethodNotAllowedHttpException on store
- Google places autocomplete suggestion without coun
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- unity 使用 FFmpeg库 播放RTSP音视频流
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Got ActiveRecord::AssociationTypeMismatch on model
- Multiple parameters in AngularJS $resource GET
- Global Exception Handling in Jersey & Spring?
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
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.