media/library
tonihei 3e7eeceb56 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

PiperOrigin-RevId: 512658918
(cherry picked from commit d363977156)
2023-03-02 09:57:54 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Do not specify export flags for protected system broadcasts. 2023-02-28 18:05:47 +00:00
core Fix some playback parameter signalling problems. 2023-03-02 09:57:54 +00:00
dash Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 18:04:02 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Merge pull request #10959 from balachandarlinks:handle-sql-exception-in-cached-content-index 2023-02-28 18:04:02 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Add javadoc links to README files 2023-01-25 18:29:34 +00:00
extractor Fix timestamp comparison for seeks in fMP4 2023-02-02 13:18:47 +00:00
hls Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 18:04:02 +00:00
rtsp Catch IllegalArgumentExceptions in RTSP Response parsing 2023-02-28 18:04:03 +00:00
smoothstreaming Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 18:04:02 +00:00
transformer Add javadoc links to README files 2023-01-25 18:29:34 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-02 13:18:46 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.