When the first SourceBuffer is created for a MediaSource, dispatch an event to the main thread to calculate which SourceBuffers have been added before the main thread reached a stable state. Treat these decoders as the ones for which we must have the first init segment present before allowing MediaSourceReader::ReadMetadata to run; any SourceBuffers appended later would be initialized lazily and must then conform to the track configuration created by the initial SourceBuffers. See also: https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#sourcebuffer-init-segment-received This depends on the changes in bug 1059058 (and potentially bug 1041396), and would be useful to implement before making MSE widely available to provide reliable/consistent behaviour.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
Attachment #8484631 - Flags: review?(cajbir.bugzilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.