[EME][GMP] Child should stop processing messages once an unrecoverable error has happened

NEW
Unassigned

Status

()

P3
normal
3 years ago
2 years ago

People

(Reporter: gerald, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Once the parent has received an error callback, it should not try and use the plugin anymore, except to send a final DecodingComplete.

However other messages may already be in flight when the error arrives on the parent side.
In particular for audio/video decoders, if InitDecode fails and sends an error, the plugin could be in an uninitialized state and future Decode messages would probably fail or even crash.

So the child should intercept errors and block further messages from being delivered (except DecodingComplete or equivalent).
Mass change P2 -> P3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.