media/libraries
tonihei ceb23e69bb Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition
ProgressiveMediaPeriod loads all available tracks into SampleStreams
(because it needs to read the data anyway and it allows easy activation
of tracks without reloading). However, the SampleStreams for disabled
tracks are not read and no one if waiting for them.

The buffered position is used for user-visible state (e.g. in the UI)
and to check how much data is already buffered to decide when to stop
buffering (using LoadControl). Both values benefit from only
using the actually enabled tracks to better reflect what is available
for playback at the moment.

Issue:Issue: google/ExoPlayer#10361
PiperOrigin-RevId: 458475038
2022-07-04 19:53:18 +00:00
..
cast Add timestamp to CueGroup 2022-06-27 10:38:20 +01:00
common Consider shuffle order in Timeline.equals() 2022-07-04 19:41:19 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Remove InvalidResponseCodeException#headerFields from the stable API 2022-05-26 11:51:27 +00:00
datasource_cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 10:44:48 +00:00
datasource_okhttp Workaround for OkHttp Interrupt issues. 2022-05-09 10:59:41 +01:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Force CMake version 3.21.0+ for the FFMPEG extension 2022-03-14 13:42:31 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Ignore decoding test cases when library not available 2022-05-31 15:00:28 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition 2022-07-04 19:53:18 +00:00
exoplayer_dash Make MetadataRenderer configurable to output metadata early. 2022-07-04 19:42:59 +00:00
exoplayer_hls Fix bug: playback is frozen with HLS chunkless preparation 2022-06-09 17:50:41 +00:00
exoplayer_ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 16:32:59 +00:00
exoplayer_rtsp Merge pull request #63 from ittiam-systems:rtp-h263 2022-06-16 11:24:41 +00:00
exoplayer_smoothstreaming Rollback of e01bb47263 2022-05-23 17:12:22 +01:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Fix MP4 parser issue in reading bitrates from esds boxes. 2022-07-04 19:47:51 +00:00
session Document custom commands in the DefaultMediaNotificationProvider 2022-07-04 19:51:25 +00:00
test_data Fix MIDI command timestamp calculations and synthesization duration. 2022-07-04 19:48:43 +00:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Remove setMediaUri/onSetMediaUri 2022-06-15 15:32:14 +00:00
test_session_current Add timestamp to CueGroup 2022-06-27 10:38:20 +01:00
test_utils Consider shuffle order in Timeline.equals() 2022-07-04 19:41:19 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Find only REGULAR_CODECS in EncoderUtil. 2022-07-04 19:52:23 +00:00
ui Ensure TalkBack announces the selected playback speed in the UI menu 2022-07-04 19:43:48 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00