Reputation: 1072
Is there any way we could live stream "video/mp2t" content in the browser? I'm building a live stream app where some urls don't have any mimetype specified but the content is "video/mp2t". I've tried to use the major html 5 players: jwplayer, shaka-player, video.js, and none of them seem to support this kind of content out of the box. I've read that might be possible to transmux on the fly to mp4, do you guys know any example or some guidelines?
Android and ios seem to support this but the browser not, why is that? Do you think it's something to be incorporated in the future?
Thanks!
Upvotes: 2
Views: 2005
Reputation: 194
Try this:
I used it when I ran across a station called The Lot, out of Brooklyn, NY. It seems well engineered, and works well. I have yet to find many other internet radio stations using "video/mp2t" -- I'm not sure why. If anyone has any other examples of real radio, with real DJs, using this format, please let me know.
Upvotes: 0
Reputation: 31130
I've read that might be possible to transmux on the fly to mp4
Yes, you can write the code yourself, or base it on a another library like mux.js. But as you said, nothing does this out of the box.
Android and ios seem to support this but the browser not, why is that?
There are dozens or hundreds of container formats. Supporting them all would be ridiculous. Different companies, and different standard bodies make different decisions on what they think their users will require.
Do you think it's something to be incorporated in the future?
No, I don't.
Upvotes: 0