Jump to content

HLS which API?


kingargyle

Recommended Posts

kingargyle

There appear to be multiple endpoints for HLS.  Just curious as to which is the recommended endpoints for a user to playback Movie and TV Shows.  My application isn't planning supporting Live TV but based on the APIs it wouldn't be overly difficult to do in the future.

 

Dave

 

Link to comment
Share on other sites

The way the system works is you tell the server exactly what you support (via a /playbackinfo call) and then it gives you an url to use for playback.

Link to comment
Share on other sites

if you're not using the /playbackinfo api, then to answer you more precisely, master.m3u8 is the main hls url.

Link to comment
Share on other sites

Yes that's correct. Everything will end up going to master.m3u8.

 

The playbackInfo api is a newer construct that has you send up a device profile of what you support, and then the server will send back info on the ways you can play it. There are some server settings that will affect playback and this is currently the only way to make sure they all get respected. But I haven't had a chance to write documentation about it yet. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...