When I watch an EME video using the Adobe or ClearKey CDM and a debug build of Firefox Nightly, I see the following (nonfatal) assertion failure every 10–20 seconds or so. I don't see this assertion failure when watching HTML5 video on YouTube.  ###!!! ASSERTION: Can't handle edits with fixed durations: 'segment_duration == 0', file c:\builds\moz2_slave\m-cen-w32-d- 000000000000000000\build\src\media\libstagefright\binding/MoofParser.cpp, line 670
Matt: is this a edts block assertion failure a Firefox bug or an encoding problem in the video? NS_ASSERTION(segment_duration == 0, "Can't handle edits with fixed durations");
Looking at the spec , it seems like non-0 durations are perfectly valid. I think this is just an invalid assertion.  https://w3c.github.io/media-source/isobmff-byte-stream-format.html#iso-init-segments
If this is an invalid assertion, it doesn't need to block EME MVP.
Created attachment 8582841 [details] [diff] [review] Remove assertion
Assignee: nobody → matt.woodrow
Attachment #8582841 - Flags: review?(ajones)
Attachment #8582841 - Flags: review?(ajones) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox39: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.