[foms] Proposal: adaptive streaming using open codecs

Chris Pearce chris at pearce.org.nz
Tue Nov 9 12:44:55 PST 2010

On 10/11/2010 5:17 a.m., Benjamin M. Schwartz wrote:
> On 11/08/2010 07:53 PM, Chris Pearce wrote:
>> I think it's about as much work for Firefox to implement an
>> appendVideo(url,timeRange) as it is to implement appendVideo(rawChunk),
>> so I think it's better to implement the former, as it'll be a simpler
>> interface on the JS side.
> What if the timeRange doesn't start on a keyframe boundary?

We can just decode forward from the previous keyframe, it would 
basically just be a regular seek. Provided the keyframes aren't too far 
apart, that shouldn't be a big deal.

> I actually do agree with you that timeRange would be preferable to
> rawChunk, if we have to choose.  While we're bikeshedding, I think
> "appendVideo(mediaFragmentURL)" would be an even better API.

We don't want to need to implement media fragments in order to implement 
a prototype adaptive streaming solution.

Chris P.

More information about the foms mailing list