Read stream from Facebook Live Videos

元气小坏坏 提交于 2019-12-08 16:44:33

I figure out that there is no way to get the current stream from Facebook now. Maybe they should add this feature to their API.

You can get the stream of ongoing live which you can play using any Dash Player. To get the stream URL of Live Video, follow these steps:

  1. Use the LIVE_ID of video (not Video_ID) to make the request.
  2. Send a get request at this end point /LIVE_ID with fields as 'access_token' and 'dash_preview_url'.
  3. This will return the URL of the ongoing live stream which can be played using any DASH Player.

You can refer to official documentation for more information.

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