On Sun, Oct 19, 2014 at 9:47 AM, Brion Vibber <bvibber(a)wikimedia.org> wrote:
On Sun, Oct 19, 2014 at 9:33 AM, Michael Dale
<mdale(a)wikimedia.org> wrote:
We can’t do http range requests against the ogg index byte / time
mappings ?
As I recall, XHR won't let us send 'Range' header without some CORS opt-in
we haven't figured out how to get working right. If we can resolve that,
should be able to rig up seeking & chunked streaming based on Range headers
(this would also let us run large files without eating up memory in Safari).
Woohoo, Faidon fixed the CORS bit with a Varnish tweak -- now allows
OPTIONS requests through to the backend so the CORS preflight request can
go and confirm that it's ok to send Range headers:
https://bugzilla.wikimedia.org/show_bug.cgi?id=55631
https://gerrit.wikimedia.org/r/#/c/167542/
I'll work on seeking this weekend if I don't have time before then. :D
-- brion