Closed Bug 1185431 Opened 5 years ago Closed 5 years ago
_Timestamp Offset _mp4 .html timing out intermittently
On 10.10 opt build, dom/media/mediasource/test/test_TimestampOffset_mp4.html timesout on try. I can reproduce it on my mac pro, but only with non-debug, non-optimized build.
So what happens is that the first call to RequestAudioData is rejected with WAITING_FOR_DATA. The MDSM then starts to decode video, and will do so for 10 frames. Only then will it call MediaFormatReader::WaitForData(kAudio). As such, there can be a significant time between the time RequestAudioData and WaitForData calls. If the mediasource receives data between two two calls and not after the WaitForData call, then the waiting promise isn't resolved ; leading to a stall.
Attachment #8635882 - Flags: review?(cpearce) → review+
You need to log in before you can comment on or make changes to this bug.