Open Bug 1274190 Opened 8 years ago Updated 2 years ago

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

Categories

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

defect

Tracking

()

Tracking Status
firefox49 --- affected

People

(Reporter: jya, Unassigned)

References

(Blocks 1 open bug)

Details

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.