[Bug 14104] Video: Streaming text support in track element

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14104

--- Comment #6 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2011-09-17 15:20:39 UTC ---
(In reply to comment #3)
> There are two problems here:
> 
> 1. In the live case currentTime will start at 0 when you start watching, so a
> different WebVTT file has to be sent to every user.
> 
> 2. There is currently no way to differentiate between a slow network and a live
> stream, so how would one know when to go to HAVE_METADATA?

#1 us solved by initialTime IIUC.
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-initialtime

When the browser connects to the live video stream, the currentTime is 0, but
the initialTime will be whatever time has passed since starting to stream it.
Then the browser can use that initialTime as an offset to take it off the time
stamps provided in the WebVTT file.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 17 September 2011 15:20:42 UTC