This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MSE] Adjust buffering rate monitor to react faster
https://bugs.webkit.org/show_bug.cgi?id=245486 Reviewed by Xabier Rodriguez-Calvar. 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. By adjusting the 'ExponentialMovingAverageCoefficient' we can make the algorithm react faster to presence of data and unblock playback. Side effect is that it reacts also faster to absence of data, but that should not affect playback as data has been buffered already allowing playback to be sustained. Original author: Pawel Lampe <email@example.com> See: WebPlatformForEmbedded/WPEWebKit#927 See: WebPlatformForEmbedded/WPEWebKit#928 * Source/WebCore/Modules/mediasource/SourceBuffer.cpp: Adjust ExponentialMovingAverageCoefficient from 0.1 to 0.2. Canonical link: https://commits.webkit.org/254781@main
- Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.