Bug 245486 - [MSE] Adjust buffering rate monitor to react faster
Summary: [MSE] Adjust buffering rate monitor to react faster
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Enrique Ocaña
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-21 09:43 PDT by Enrique Ocaña
Modified: 2022-09-23 02:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrique Ocaña 2022-09-21 09:43:10 PDT
As data is comming in (in bursts), the buffering rate monitoring algorithm calculates an average rate that will be used to determine if we can play through the content without interruption (assuming relatively constant rate). To filter out variations in rate, the algorithm reacts more slowly (by design) and may take more time to reach the required rate threshold to unblock playback, even though the incoming rate is sufficient to sustain playback. If it takes too long, then a client using MSE may take corrective actions wich may disturb or even abort the playback.
Comment 1 Enrique Ocaña 2022-09-21 09:47:37 PDT
See https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/928 for a detailed description of the root problem that led to this bug report.
Comment 2 Enrique Ocaña 2022-09-21 09:51:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4571
Comment 3 EWS 2022-09-23 02:22:09 PDT
Committed 254781@main (68d7d604b06e): <https://commits.webkit.org/254781@main>

Reviewed commits have been landed. Closing PR #4571 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2022-09-23 02:23:19 PDT
<rdar://problem/100315787>