Bug 48054
| Summary: | Implement startOffsetTime (after the new HTML5 media spec update) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Odin Hørthe Omdal <odin.omdal+webkit> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ahmad.saleem792, eric.carlson, jer.noble, nickshanks, s.choi |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | All | ||
| URL: | http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#dom-media-startoffsettime | ||
Odin Hørthe Omdal
The HTML5 spec was updated a while ago, I couldn't find any bug tracking that so this is not connected to a master-bug for it.
Anyway, I'm pushing startOffsetTime because I need it for my webapp :-) You also need to fix your startTime, because now it doesn't conform to spec.
This was my original bug (use case) to the WHATWG and browsers:
I stream conferences using Ogg Theora+Vorbis using Icecast2. I have built a
site that shows the video and then automatically shows the slides (as PNG
files) as well. I use orbited (COMET) to have the server PUSH my «next»
presses on my keyboard.
The problem is that icecast does heavy buffering, and also the client, so
that while I switch the slides, the browser will go from slide 3 to 4 WAY
too early (from 10 second to 1 minute).
If I could get the timestamp OR time-since-started-sending/recording from
the ogg file in javascript, I'd be able to sync everything.
There are multiple way to sync this, may even an stream with the slide-data
INSIDE the ogg file, however, AFAIK there's also no way of getting out such
arbitrary streams.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Odin Hørthe Omdal
Can this be confirmed?
Nicholas Shanks
BBC blog post regarding their implementation of this in Firefox:
http://www.bbc.co.uk/blogs/researchanddevelopment/2012/01/implementing-startoffsettime-f.shtml
Ahmad Saleem
Nothing to do here. These are now marked as 'historical' and we pass the test as well.
https://wpt.fyi/results/html/semantics/embedded-content/media-elements/historical.html?label=master&label=experimental&aligned=&q=media-elements%2Fhistorical.html
> audio.startOffsetTime should not be supported
> video.startOffsetTime should not be supported