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

NEW
Unassigned

Status

()

P3
normal
3 years ago
3 years ago

People

(Reporter: jya, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox49 affected)

Details

(Reporter)

Description

3 years ago
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.