media/libraries
tonihei 6048ca2faa Make usage of live minDurationForQualityIncrease more consistent
We have two ways to choose the minDurationForQualityIncreaseMs value in
AdaptiveTrackSelection: use the configured value for non-live or when
enough buffered data is available, or use a fraction of the available
duration to allow switching when playing close to the live edge.

The decision point when to use which value isn't quite consistent because
we compare against availableDurationUs before making the adjustments. This
means there is range of values where no up-switching is possible despite
perfect buffering. Fix this by choosing the minimum of both values.

Issue: google/ExoPlayer#9784

#minor-release

PiperOrigin-RevId: 428474332
2022-02-17 10:34:42 +00:00
..
cast Fix incorrect parameter name 2022-02-17 10:09:21 +00:00
common Add helpers for FBOs in GlUtil. 2022-02-17 10:29:06 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-04 14:51:52 +00:00
datasource Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
datasource_cronet Remove deprecated CronetDataSource constructors 2022-02-17 10:01:00 +00:00
datasource_okhttp Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource_rtmp Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
decoder_av1 Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
decoder_ffmpeg Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
decoder_flac Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
decoder_opus Trim CodecDelay/PreSkip In New OpusDecoder Instances By Default 2022-02-17 10:18:14 +00:00
decoder_vp9 Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
exoplayer Make usage of live minDurationForQualityIncrease more consistent 2022-02-17 10:34:42 +00:00
exoplayer_dash Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
exoplayer_hls Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
exoplayer_ima Use content timeline to get ad group index and ad index in ad group 2022-02-17 10:33:44 +00:00
exoplayer_rtsp Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
exoplayer_smoothstreaming Remove setTag from (Ss|Hls|Dash)MediaSource.Factory 2022-01-11 13:44:06 +00:00
exoplayer_workmanager Update to androidx.media3 2021-10-27 09:12:46 +01:00
extractor Fix Sample Size For Supplemental Data In MatroskaExtractor 2022-02-17 10:17:19 +00:00
session Create MediaNotification.Provider 2022-02-17 10:30:01 +00:00
test_data Remove deprecated ActionFile and ActionFileUpgradeUtil 2022-02-07 11:44:22 +00:00
test_exoplayer_playback Extend support for audio spatialization in MediaCodecAudioRenderer 2022-01-25 18:59:43 +00:00
test_session_common Fix flaky MediaBrowserListenerTest 2022-01-25 18:34:25 +00:00
test_session_current Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
test_utils Resolve media period ids in multi-period windows 2022-02-17 10:26:59 +00:00
test_utils_robolectric Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
transformer Add helpers for FBOs in GlUtil. 2022-02-17 10:29:06 +00:00
ui Set character limit for accessability strings to NONE 2022-02-17 10:23:57 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00