Files
servo/components/script
Andrei Volykhin a5a475cfd8 html: Fix handling of the media playback EnoughData event (#40881)
The media engine signals with the `PlayerEvent::EnoughData` event that
the media source has enough data and the application should stop pushing
more data to avoid excessive buffer queueing and wait
`PlayerEvent::NeedData` event to continue.

Note that the source buffer size - MAX_SRC_QUEUE_SIZE (50MB).

This event is reflecting the state of the media source so the
application shouldn't change the media element ready state somehow.

Testing: No expected testing results changes

Fixes (partially): https://github.com/servo/servo/issues/40740

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
2025-11-25 16:14:26 +00:00
..
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00