If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

During initial SourceBuffer creation, clearly demarcate which SBs require init data before running the parent ReadMetadata

RESOLVED FIXED in mozilla35

Status

()

Core
Audio/Video
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: kinetik, Assigned: kinetik)

Tracking

(Blocks: 1 bug)

Trunk
mozilla35
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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)

Updated

3 years ago
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
(Assignee)

Comment 1

3 years ago
Created attachment 8484631 [details] [diff] [review]
p1: v1
Attachment #8484631 - Flags: review?(cajbir.bugzilla)
(Assignee)

Updated

3 years ago
Flags: in-testsuite?

Updated

3 years ago
Attachment #8484631 - Flags: review?(cajbir.bugzilla) → review+
(Assignee)

Comment 2

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e6011266bea
https://hg.mozilla.org/mozilla-central/rev/2e6011266bea
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
(Assignee)

Updated

3 years ago
Depends on: 1069730
You need to log in before you can comment on or make changes to this bug.