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

HLS/mpeg dash output #4

Open
saranrapjs opened this issue Apr 29, 2018 · 0 comments
Open

HLS/mpeg dash output #4

saranrapjs opened this issue Apr 29, 2018 · 0 comments

Comments

@saranrapjs
Copy link
Contributor

Watching the Peer to Peer Web stream yesterday (nice work on that!) I was struck that it wouldn't be terribly difficult for Hypercast to pump out an m3u/mpd playlist file in addition to the webm files. I see this as having a couple advantages:

  • my impression is that all of the non-native implementations of HLS/mpeg-dash use MediaSource under the hood (e.g. Shaka), so the viewer code could potentially be made to consume these playlist files instead with hopefully not too much effort
  • spitting out playlist files would (potentially) allow non-browser clients to consume the live feed more easily as well. i was reading this post about non-browser support for the two live streaming formats in wide use, as part of looking at what it would look like to setup a Raspberry pi to play a live stream produced by hypercast. the native clients aren't super well-supported, but i like the idea that you could consume a hypercast in a device-independent way!

here's the catch, though: i'm pretty sure none of the container formats that MediaRecorder is capable of recording to are supported by HLS 😢 i'm using this chart plus MediaRecorder.isTypeSupported to test that out, though. it looks like, on the viewer-side, MediaSource does supported some mp4 container formats that HLS supports, but that may or may not be helpful

anyways, curious to hear thoughts on whether or not this would be an interesting thing to add to hypercast! i'd be happy to spec out a branch

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

1 participant