[Bug 18576] New: Confused requirements on updating implicit duration

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18576

           Summary: Confused requirements on updating implicit duration
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
        AssignedTo: adrianba@microsoft.com
        ReportedBy: philipj@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org


http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#source-buffer-duration-updates

In this section (which should be non-normative) it says that "Any time a media
segment that goes beyond the current value of the duration attribute is
appended to a SourceBuffer, the duration attribute will get updated to end
timestamp of the media segment."

(Note also that this should be scoped to only implicit duration, but the
section nesting doesn't make it so.)

http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-append

This section says "Update the duration attribute to reflect the end of the
appended data. (ie Highest end timestamp reported by
HTMLMediaElement.buffered)"

This looks like it's assuming that segments are always appended in order.
Should be rephrased to set duration to the maximum of the current duration and
the end timestamp of the appended segment.

-- 
Configure bugmail: https://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 Wednesday, 15 August 2012 14:55:14 UTC