Firefox OS does not parse Mpeg2TS now, it is restricted by mime type. If HLS is only for b2g use, stagefright is easier and stable. The code is actually used for youtube live playback in android. The bug for HLS is present as Bug 577084. It says that Firefox do not implement HLS because MPEG-DASH is more promising. But MPEG-DASH(Bug 702122) is disabled because MediaSource (MSE) is more promising. IIRC, some patent's related mpeg2ts are still effective.
I reminded this at google's "new nexus7 and android 4.3" announcement. It was on Youtube Live and Firefox OS device could not watch the video on my b2g device. IIRC, google io is also uses Youtube Live as live streaming. If B2G do not suport Youtube Live, user can not see such a big event's live videos. FYI: - Bug 881512 - Implement enough of MSE to run the YT demo player Sotaro ----- Original Message ----- From: "Andreas Gal" <andreas....@gmail.com> To: "Sotaro Ikeda" <sik...@mozilla.com> Cc: dev-b2g@lists.mozilla.org Sent: Thursday, August 1, 2013 7:50:56 PM Subject: Re: [b2g] Youtube Live Support on B2G HLS is just a bunch of MPEG2TS fragments at different bitrates and a manifest file. It should be pretty easy to parse the manifest and async xmlhttprequest the chunks and feed them into MediaSource (MSE). We could add this to the video player app if this is really needed by anyone. I am not sure we are currently parsing MPEG2TS in FFOS. We can either enable that in the libstagefright glue, or parsing TS in JS and feed the separated H.264 video and audio tracks into MediaSource. Andreas Sotaro Ikeda wrote: > Hi all, > > I sent same mail to media ml, but was no response. Then I send same mail to > b2g ml. > > Current Firefox OS device does not support Youtube Live Streaming. Youtube > use HLS on mobile platform for it. Firefox does not support HLS, because MSE > is more promising now. Without support of HLS on Firefox, user do not have a > problem to watch Youtube Live Streaming on desktop and android. On desktop, > flash plugin is used for it. On android, user can watch it by Youtube app. > But on B2g, without HLS support, user can not watch Youtube Live on Firefox > OS device. Is there no problem to support HLS only on B2g? If it is a > problem, is there a other solution for it? > > Thanks in advance. > Sotaro > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g