Open Bug 1274190 Opened 5 years ago Updated 5 years ago

Provide MediaFormatReader the ability to tell at what time it should enter buffering mode


(Core :: Audio/Video: Playback, defect, P3)




Tracking Status
firefox49 --- affected


(Reporter: jya, Unassigned)


(Blocks 1 open bug)


When the MediaFormatReader encounter a gap in the resource (MSE), it rejects the MediaDataPromise with the error WAITING_FOR_DATA

The MDSM will then use the time of the last sample returned to determine when to enter buffering mode (which leads to the 'waiting' event to be fired).

However, on slow machines, when the SkipToNextKeyFrame logic is activated, it is possible that the waiting for data is to only occur in the future which could be well past the last sample returned.

The MDSM under these conditions however, would fire the waiting event at the time of the last video data returned; much too early.

We need a way for the MediaFormatReader to indicate to the MDSM at what time the waiting is to occur.
Mass change P2 -> P3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.