[Bug 27174] New: [MSE] Clarify that addSourceBuffer() doesn't return two source buffers

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

            Bug ID: 27174
           Summary: [MSE] Clarify that addSourceBuffer() doesn't return
                    two source buffers
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: silviapfeiffer1@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

The following description of addSourceBuffer() is confusing:

"Implementations must support at least 1 MediaSource object with the following
SourceBuffer configurations. MediaSource objects must support each of the
configurations below, but they are only required to support one configuration
at a time. Supporting multiple configurations at once or additional
configurations is a quality of implementation issue.

    A single SourceBuffer with 1 audio track and/or 1 video track.
    Two SourceBuffers with one handling a single audio track and the other
handling a single video track."

It seems to indicate that a call to addSourceBuffer() can return either 1
SourceBuffer or two SourceBuffer objects. This should be rewritten.


As Cyril explained:
addSourceBuffer always returns a single SourceBuffer. Implementations should
support either one call to addSourceBuffer for multiplexed a/v streams or two
calls for separate audio and video streams and that it may throw a
QUOTA_EXCEEDED_ERROR on the next calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Sunday, 26 October 2014 10:05:46 UTC