mux-stats-sdk-avplayer icon indicating copy to clipboard operation
mux-stats-sdk-avplayer copied to clipboard

Improvement: Use AVPlayerItem APIs to track rebuffering

Open andrewjl-mux opened this issue 1 year ago • 0 comments

Detecting changes in buffer state In order to show an activity indicator when the player stalls, we need to register 3 observers using KVO (Key-Value Observing) on the following dynamic properties of an AVPlayerItem: isPlaybackBufferEmpty isPlaybackBufferFull isPlaybackLikelyToKeepUp

https://www.cyrilchandelier.com/avplayer-buffering

andrewjl-mux avatar Feb 24 '24 02:02 andrewjl-mux