Bug 253074 - [MSE] Skip initial buffering rate computation
Summary: [MSE] Skip initial buffering rate computation
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: 2023-02-28 06:03 PST by Enrique Ocaña
Modified: 2023-03-07 09:17 PST (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 2023-02-28 06:03:04 PST
m_timeOfBufferingMonitor is initialized in SourceBuffer at creation time. If the first call to monitorBufferingRate() takes too much to happen for whatever reason (eg: because the webpage takes too much to perform the first append), the computed interval is already going to be too big and generate an artificially low m_averageBufferRate.
Comment 1 Enrique Ocaña 2023-02-28 06:11:43 PST
Pull request: https://github.com/WebKit/WebKit/pull/10793
Comment 2 Radar WebKit Bug Importer 2023-03-07 06:04:17 PST
<rdar://problem/106358375>
Comment 3 EWS 2023-03-07 09:16:41 PST
Committed 261328@main (1581c8aa2d3c): <https://commits.webkit.org/261328@main>

Reviewed commits have been landed. Closing PR #10793 and removing active labels.