W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] Cue points in media elements

From: Dave Singer <singer@apple.com>
Date: Wed, 2 May 2007 11:01:30 -0700
Message-ID: <p062408e0c25e81c7d71c@[172.28.172.64]>
At 17:04  -0400 1/05/07, Brian Campbell wrote:
>On May 1, 2007, at 1:05 PM, Kevin Calhoun wrote:
>
>>I believe that a cue point is "reached" if its time is traversed 
>>during playback.
>
>What does "traversed" mean in terms of (a) seeking across the cue 
>point (b) playing in reverse (rewinding) and (c) the media stalling 
>an restarting at a later point in the stream?

I would say that playing (at any rate and in any direction) is a 
continuous function, and therefore cue points are triggered, when 
playing, whenever two samples of the time straddle the cue point 
(where straddel includes one of the samples being at the cue point).

Seeking is discontinuous, and therefore cue points are triggered only 
if a seek results in landing on the cue point, if not playing.  If 
playing, then the usual rules apply.

Frame dropping, stalling, and so on, are aspects of the playback 
behavior and nothing to do with the logical model of cues laid on a 
time axis.
-- 
David Singer
Apple Computer/QuickTime
Received on Wednesday, 2 May 2007 11:01:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC