Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LHLS Support - Low-Latency HLS #77

Open
2 tasks
bijanmmarkes opened this issue Oct 27, 2019 · 1 comment
Open
2 tasks

LHLS Support - Low-Latency HLS #77

bijanmmarkes opened this issue Oct 27, 2019 · 1 comment

Comments

@bijanmmarkes
Copy link

bijanmmarkes commented Oct 27, 2019

Feature Request

It doesn't seem that Mamba currently supports Low-Latency HLS, is this in the plan, or did I miss something? It claims that this writes HLS playlists, does this mean I can hook up my AV Inputs to this library to write the streams and publish them to an HLS server? I cannot seem to find sufficient information on this.
More than happy to contribute to this project as I am looking for a good solution, I'm just having trouble determining exactly what this library is capable of based on the documentation and lack of examples.

Tasks

  • Output LHLS using native camera/microphone/Bluetooth
  • Playback LHLS using the mamba player

References

Open Questions

  1. Did I miss something, or does this plugin provide any type of LHLS support? (Low-Latency HLS).
  2. Great work, perhaps it's because this is mostly for streaming video that is not reliant on live-streaming, but I hope I can utilize this for my new LHLS library.
@dcoufal
Copy link
Contributor

dcoufal commented Oct 28, 2019

@bijanmmarkes Thanks for your feature request.

mamba is a library for parsing HLS into a editable object, which you can edit live in your tvOS/iOS/macOs app, and then output your edited HLS for playback.

So, there is no "player". It's expected that the user would be intercepting HLS before it gets to your player (likely AVFoundation), parsing and editing it and outputting new HLS to feed into the player.

It can parse all forms of HLS (Live, VOD and Event, and in fact, has some special handling for Event playlists to improve performance)

Given that, you are correct that we do not have LLHLS support, but it would be fairly simple to add this support. If you look at the PantosTag enum, that is a list of all the "official" HLS tags that mamba knows how to parse natively. So, one could add the new tags to that enum and I think that might be all that's required.

If you wanted to read data out of those tags, you might need to add entries to PantosValue as well.

It might also be that the new Delta update would break our parsing (I'm not certain). In which case, there might need to be bug fixes for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants