This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
Change committed.. https://dvcs.w3.org/hg/html-media/rev/af052af0dd5f I took a slightly different approach by creating a "SourceBuffer configuration" definition and put the mandatory configuration requirements in there. I then updated the addSourceBuffer() algorithm to refer to the definition so that it is clear that unsupported configurations result in the QUOTA_EXCEEDED_ERROR exception being thrown.
Thanks.