W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] media elements: Relative seeking

From: Chris Double <chris.double@double.co.nz>
Date: Tue, 2 Dec 2008 15:10:17 +1300
Message-ID: <c2e346f90812011810p6292c1c6l471fcd352ad9ecca@mail.gmail.com>
On Tue, Dec 2, 2008 at 3:06 PM, Ian Hickson <ian at hixie.ch> wrote:
> 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.

It's not possible to always provide accurate values for duration -
we've already discussed that and you suggested estimating. I don't see
that as an accurate value. Can you link to the post where implementors
said they would always provide accurate values? The only accurate
value I can provide with Ogg is the exact duration if the http server
supports byte range requests, or some other out of band duration
metadata (X-Content-Duration, etc). Without byte range requests,
accurate duration is not possible.

Chris.
-- 
http://www.bluishcoder.co.nz
Received on Monday, 1 December 2008 18:10:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:08 UTC