media/libraries
tonihei e79b47ccff Fix some playback parameter signalling problems.
Playback parameter signalling can be quite complex because
 (a) the renderer clock often has a delay before it realizes
     that it doesn't support a previously set speed and
 (b) the speed set on media clock sometimes intentionally
     differs from the one surfaced to the user, e.g. during
     live speed adjustment or when overriding ad playback
     speed to 1.0f.

This change fixes two problems related to this signalling:
 1. When resetting the media clock speed at a period transition,
    we don't currently tell the renderers that this happened.
 2. When a delayed speed change update from the media clock is
    pending and the renderer for this media clock is disabled
    before the change can be handled, the pending update becomes
    stale but it still applied later and overrides any other valid
    speed set in the meantime.

Both edge cases are also covered by extended or new player tests.

Issue: google/ExoPlayer#10882

#minor-release

PiperOrigin-RevId: 512658918
2023-03-01 17:18:30 +00:00
..
cast Map PLAYER_STATE_LOADING to STATE_BUFFERING 2023-02-27 17:59:16 +00:00
common Do not specify export flags for protected system broadcasts. 2023-02-27 18:39:07 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Merge pull request #10959 from balachandarlinks:handle-sql-exception-in-cached-content-index 2023-02-14 14:24:36 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Allow video format change. 2023-02-27 18:45:32 +00:00
exoplayer Fix some playback parameter signalling problems. 2023-03-01 17:18:30 +00:00
exoplayer_dash Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_hls Update SampleQueue.sourceId to be a long rather than an int. 2023-02-14 14:23:40 +00:00
exoplayer_ima Add ad event listeners in the Looper event of the ad manager callback 2023-02-13 12:26:04 +00:00
exoplayer_rtsp Catch IllegalArgumentExceptions in RTSP Response parsing 2023-02-13 14:18:53 +00:00
exoplayer_smoothstreaming Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Encapsulate Opus frames in Ogg during audio offload 2023-02-08 14:12:06 +00:00
session Fix error in documentation string 2023-02-17 11:55:35 +00:00
test_data Add Muxer end to end tests 2023-02-27 18:50:56 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Do not assume a valid queue in 3rd party sessions 2023-02-01 10:34:25 +00:00
test_session_current Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_utils Add Muxer end to end tests 2023-02-27 18:50:56 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Allow video format change. 2023-02-27 18:45:32 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 10:22:15 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00