[whatwg] media elements: Relative seeking

Dave Singer singer at apple.com
Mon Dec 1 18:08:33 PST 2008


At 2:06  +0000 2/12/08, Ian Hickson wrote:
>On Tue, 2 Dec 2008, Chris Double wrote:
>>  On Mon, Dec 1, 2008 at 11:28 PM, Ian Hickson <ian at hixie.ch> wrote:
>>  >> For the few servers that don't support seeking, duration is not
>>  >> available.
>>  >
>>  > Note that that is non-conforming at the moment. You have to have a
>>  > duration available (though it can be +Infinity if you think that the
>>  > resource is a stream, and can be an estimate, so long as you keep
>>  > updating it as your information gets better.)
>>
>>  I think the spec should be changed to allow duration to be NaN in the
>>  case where it cannot be determined.
>
>We removed some other features (e.g. bufferedBytes and totalBytes) because
>implementors said they would always provide accurate values in the
>buffered and duration attributes. If we allow duration to be NaN, then
>we'd have to re-add the other features again.

what is the duration of an indefinite stream (e.g. live or simulated live)?
-- 
David Singer
Multimedia Standards, Apple Inc.



More information about the whatwg mailing list