media/libraries
tonihei 9af85d9b25 Move DrmSessionManager initial player setup to its own method.
Currently, DrmSessionManager takes player specific values (= the
playback looper) through (pre)acquireSession calls and requires
the caller to pass in the same values every time.

Instead, we can configure the DrmSessionManager for playback with
a player once before it's being used. We can't simply extend the
prepare() method as prepare may be called before the player is
created to prewarm the DrmSessionManager.

The new method also takes a PlayerId which is bound to the lifetime
of the player similar to the playback looper.

To avoid breakage of custom MediaSources with DRM, we can keep the
old the SampleQueue.createWithDrm method as deprecated.

PiperOrigin-RevId: 410998240
2021-11-19 15:12:13 +00:00
..
cast Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00
common Populate ICY headers into MediaMetadata 2021-11-19 14:55:51 +00:00
database Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource Remove null keys from DefaultHttpDataSource#getResponseHeaders 2021-11-19 14:56:43 +00:00
datasource_cronet Update dependency versions 2021-11-19 14:42:25 +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 Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_av1 Update to androidx.media3 2021-10-27 09:12:46 +01:00
decoder_ffmpeg Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_flac Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_opus Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_vp9 Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
exoplayer Move DrmSessionManager initial player setup to its own method. 2021-11-19 15:12:13 +00:00
exoplayer_dash Move DrmSessionManager initial player setup to its own method. 2021-11-19 15:12:13 +00:00
exoplayer_hls Move DrmSessionManager initial player setup to its own method. 2021-11-19 15:12:13 +00:00
exoplayer_ima Update dependency versions 2021-11-19 14:42:25 +00:00
exoplayer_rtsp Fix sequence number calculation logic. 2021-11-19 15:00:12 +00:00
exoplayer_smoothstreaming Move DrmSessionManager initial player setup to its own method. 2021-11-19 15:12:13 +00:00
exoplayer_workmanager Update to androidx.media3 2021-10-27 09:12:46 +01:00
extractor Populate ICY headers into MediaMetadata 2021-11-19 14:55:51 +00:00
session Remove statically initialized SessionResult 2021-11-09 10:10:10 +00:00
test_data Add parsed essential/supplemental properties to the Representation. 2021-11-19 14:48:01 +00:00
test_exoplayer_playback Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
test_session_common Migrate media3.session references from Window to MediaItem 2021-11-08 15:13:41 +00:00
test_session_current Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00
test_utils Move DrmSessionManager initial player setup to its own method. 2021-11-19 15:12:13 +00:00
test_utils_robolectric Migrate usages of Window-based Player methods 2021-11-09 10:07:30 +00:00
transformer Adjust timestamp even if frame is dropped. 2021-11-19 15:10:06 +00:00
ui Assign class member in StyledPlayerControlView before using it 2021-11-19 15:04:08 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00