Jump to content

New HLS api


Luke

Recommended Posts

This is ready for use and will be in the next server release:

 

https://github.com/MediaBrowser/MediaBrowser/wiki/Http-Live-Streaming

 

It features full playlist generation for seeking, adaptive bitrate streaming, and other improvements from the original api. Usage is the same, just change your url from stream.m3u8 to master.m3u8.

 

The only difference is for audio and video codecs, you cannot specify copy as your desired codec. The server needs to know the actual codec, but may end up using stream copy based on other parameters.

  • Like 2
Link to comment
Share on other sites

Redshirt

I want to make sure I understand this clearly. With HLS seek. I should be able to seek to anywhere in a transcoding stream using the media players native seek rather than requesting a new stream. I've just tried this on android and the playback is starting from the beginning again.

Link to comment
Share on other sites

correct. once you have it in the app i'll probably need to do some testing with it. it is currently working well on chrome android, safari and roku, but this kind of thing will need individual testing with different player software.

Link to comment
Share on other sites

Redshirt

Disregard the above. I wasn't setting a property that I needed to. It's still not quite working as expected. The seek works and it tries to play from the new position, but It's playing like it's not caching or something. a frame or two every few seconds and the audio popping. I'll button up some other stuff this weekend and get a beta build of my client out so you can see for yourself.

  • Like 1
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...