media/libraries
ibaker 9d62845c45 Pass explicit securityLevel into MediaDrm.requiresSecureDecoder
Previous to this change, `FrameworkMediaDrm.requiresSecureDecoder`
ignores its `sessionId` parameter on API 31+, and uses only the
`mimeType` parameter. This means the result [assumes the session is
opened at the 'default security
level'](https://developer.android.com/reference/android/media/MediaDrm#requiresSecureDecoder(java.lang.String)):
> The default security level is defined as the highest security level
> supported on the device.

This change is a no-op in all (?) cases, because the `ExoMediaDrm`
interface only exposes the zero-arg `openSession()` method, which in the
framework case **also** assumes the highest security level is preferred:
> By default, sessions are opened at the native security level of the
> device.

However, it seems more obviously correct to only make this
"highest/native security level" assumption in one place
(`openSession()`), and check the session's **actual** security level
everywhere else.

Issue: androidx/media#1603
PiperOrigin-RevId: 662872860
2024-08-14 04:52:33 -07:00
..
cast Formatting fixes and additional plumbin in legacy controller 2024-06-14 17:47:03 +01:00
common Automated Code Change 2024-08-09 21:18:31 -07:00
common_ktx Use runCatching instead of try/catch in PlayerExtensionsTest 2024-08-12 01:44:53 -07:00
container Make parsing editable track map method non static 2024-08-06 04:44:40 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Automated Code Change 2024-08-07 12:28:25 -07:00
datasource_cronet Run CronetDataSource contract test for all Cronet providers 2024-08-01 10:49:37 -07:00
datasource_okhttp Automated Code Change 2024-08-07 12:28:25 -07:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder MediaCodecVideoRenderer skips decoder inputs unused as reference 2024-07-09 03:43:06 -07:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Remove Multidex 2024-07-24 16:17:00 +01:00
decoder_iamf/src Add nativeDecoderPointer field to IamfDecoder. 2024-08-13 09:38:44 -07:00
decoder_midi Add missing module registrations 2024-05-23 04:50:01 -07:00
decoder_opus Remove Multidex 2024-07-24 16:17:00 +01:00
decoder_vp9 Remove Multidex 2024-07-24 16:17:00 +01:00
effect Add a method to disallow VFP destroying shared eglContext 2024-08-07 05:50:32 -07:00
exoplayer Pass explicit securityLevel into MediaDrm.requiresSecureDecoder 2024-08-14 04:52:33 -07:00
exoplayer_dash Automated Code Change 2024-08-07 12:28:25 -07:00
exoplayer_hls Automated Code Change 2024-08-07 12:28:25 -07:00
exoplayer_ima Remove Multidex 2024-07-24 16:17:00 +01:00
exoplayer_rtsp Skip invalid media description in SessionDescriptionParser 2024-08-08 07:22:22 -07:00
exoplayer_smoothstreaming Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Enable CBR seeking for files with unknown length in AmrExtractor 2024-08-14 04:32:38 -07:00
muxer Use Track instead of TrackToken internally 2024-08-13 10:24:04 -07:00
session Handle HEADSETHOOK as 'play' in MediaButtonReceiver.onReceive 2024-08-13 07:53:04 -07:00
test_data Enable CBR seeking for files with unknown length in AmrExtractor 2024-08-14 04:32:38 -07:00
test_exoplayer_playback Revert erroneous changes 2024-07-24 16:17:02 +01:00
test_session_common Improve automatic error replication for legacy browsers 2024-07-01 09:47:25 -07:00
test_session_current Revert changes to androidx.media3.session.legacy 2024-07-24 16:17:02 +01:00
test_utils Rollback of ffc45820b9 2024-08-05 05:31:46 -07:00
test_utils_robolectric Bump minSdk to 21 and remove resulting simple dead code 2024-07-12 08:11:01 -07:00
transformer Support removing video in previewing 2024-08-12 08:28:16 -07:00
ui Manage wakelock when playback suppression is being handled. 2024-08-10 02:28:12 -07:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00