On Oct 19, 2014, at 5:16 AM, Brion Vibber <bvibber(a)wikimedia.org> wrote:
1) Buffer the whole file into memory, and allow seeking anywhere within the area
that's been buffered.
This sounds awful, but we actually have to buffer the whole file into memory currently on
Safari anyway -- I'm kind of banking on most videos being short-ish and loading
relatively low-resolution files that aren't too huge. :(
Adding seeking on top of that shouldn't be super hard, I just haven't gotten to
it yet.
2) Break up the files into a manifest and small chunks (as with WebM-DASH or Apple's
HTTP Live Streaming) that can be individually loaded.
With chunked files, we could seek by jumping to a different chunk and picking up where
needed in the stream. This would require more infrastructure work, including generation of
files. Sounds hard.
Soo....... I'll probably do number 1) at some point. :)
We can’t do http range requests against the ogg index byte / time mappings ?
—michael