Bug 245486

Summary: [MSE] Adjust buffering rate monitor to react faster
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: MediaAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>