But iirc, stageright implement Mpeg2Ts for HLS support by AwesomePlayer at first. Stagefright can playback local mpeg2ts. I think it is just a side effect of HLS support. Just simple mpeg2ts can not support seek efficiently. Current JB support mpeg2ts on RTSP as AMPEG2TSAssembler. It is better to reuse it like other ***Assembler. JB playbacks RTSP by NuPlayer not by AwesomePlayer. AwesomePlayer have a problem of synchronous decoding API. It seems that NuPlayer is made to solve this problem. NuPlayer handles decoding asynchronously. By this NuPlayer can handle seek correctly in streaming video playback, but AwesomePlayer can not handle it correctly.
Sotaro ----- Original Message ----- From: "Vincent Chang(張藝馨)" <changyih...@gmail.com> To: rob...@ocallahan.org Cc: "Andreas Gal" <g...@mozilla.com>, "Chris Pearce" <cpea...@mozilla.com>, "Chris Double" <cdou...@mozilla.com>, "Mozilla B2G mailing list" <dev-b2g@lists.mozilla.org>, "Sotaro Ikeda" <sik...@mozilla.com>, "Matthew Gregan" <kine...@flim.org> Sent: Friday, August 2, 2013 12:18:29 AM Subject: Re: [b2g] Youtube Live Support on B2G Android's stageflight supports MPEG2TS and MPEG2PS extractor. But it is used for local file right now. To support MPEG2TS through RTSP, we need to support sdp parser for video/mp2ts (video 0 RTP/AVP 33) and feed the data to the extractor. Current RTSP implementation in FFOS is reviewing in Bug 831645. We hope to fix it as soon as we can. Many Thanks, Vincent Chang, Software Engineer of Mozilla Taiwan 2013/8/2 Robert O'Callahan <rob...@ocallahan.org> > [I'm not on dev.b2g...] > > [Browser support for DASH isn't quite dead; IE11 has it apparently. But > that won't help us here.] > > I don't know anything about MPEG2TS or what it would take for HLS to be > implementable in JS via Media Source. Matthew or Chris D/P might know. Note > that even if we supported MPEG2TS in Media Source, Youtube would still have > to hook up JS support for HLS for us. > > I'm pretty sure the long term plan for Youtube is WebM or Fragmented MP4 > over MSE for Chrome/Web. Whether we should wait for that to save us, I > don't know. > > Rob > -- > Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni > le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa > stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, > 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp > waanndt wyeonut thoo mken.o w * > * > _______________________________________________ > 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