mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Currently only the buffered position in the current media period can be queried. To achieve this, we save the buffered positions of all MediaPeriods to the PlaybackInfo together with a list of MediaPeriodIds. ExoPlayerImpl can then determine the correct buffered position for multi-period windows and windows with midroll ads. In addition, this change adds two new convenience methods to the Player interface to query the total buffered duration across all windows and to get the buffered duration of the content while playing an ad. Issue:#4023 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200041791
ExoPlayer extensions
ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.