Bug 48054

Summary: Implement startOffsetTime (after the new HTML5 media spec update)
Product: WebKit Reporter: Odin Hørthe Omdal <odin.omdal+webkit>
Component: MediaAssignee: 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

Description Odin Hørthe Omdal 2010-10-21 03:06:35 PDT
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.
Comment 1 Odin Hørthe Omdal 2011-05-11 06:17:11 PDT
Can this be confirmed?
Comment 2 Nicholas Shanks 2012-02-01 13:18:43 PST
BBC blog post regarding their implementation of this in Firefox:

http://www.bbc.co.uk/blogs/researchanddevelopment/2012/01/implementing-startoffsettime-f.shtml
Comment 3 Ahmad Saleem 2023-10-12 13:02:17 PDT
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