If a single appendBuffer is made and contains multiple init segments ; then loadedmetadata isn't fired.
The name IsInitSegmentPresent and IsMediaSegmentPresent was misleading. As they are to return true only if data *starts* with such segment and not just contain. Carrying r+ from bug 1188341
Attachment #8640416 - Flags: review+
We considered that mActiveTrack was a global variable, however it is reset each time a new init segment is received. Should two init segments be received in the same appendBuffer it would have been set to false, causing metadata to never be parsed. Carrying r+ from bug 1188341
Attachment #8640417 - Flags: review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox42: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.