media/libraries
tonihei b570c72588 Normalize MIME types when accepting user or media input
MIME types are case-insensitive, but none of the many existing
comparisons across our code base take this into account. The
code can be made more robust by normalizing all MIME types at the
moment they are first set into a class/builder and adding toLowerCase
as part of the normalization.

Most concretely, this fixes an issue with playing HLS streams via
the IMA SDK where the stream MIME type is indicated with all lower
case "application/x-mpegurl", which failed the MIME type comparison
in DefaultMediaSourceFactory.

PiperOrigin-RevId: 582317261
2023-11-14 07:40:15 -08:00
..
cast Move setAudioAttributes from ExoPlayer to Player 2023-09-19 06:08:37 -07:00
common Normalize MIME types when accepting user or media input 2023-11-14 07:40:15 -08:00
container Add support for flattening SEF files with H.265 2023-10-17 09:26:14 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Split openAssetFileDescriptor from RawResourceDataSource.open 2023-10-31 04:38:57 -07:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_httpengine Implement HttpEngineDataSource, a HttpDataSource using the [HttpEngine](https://developer.android.com/reference/android/net/http/HttpEngine) API. 2023-10-18 14:17:56 -07:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
decoder_ffmpeg Fix proguard rule to also keep referenced class name 2023-11-03 10:53:36 -07:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi Merge pull request #710 from loki666:patch-2 2023-10-23 07:58:17 -07:00
decoder_opus Explicitly mark DecoderOutputBuffer as shouldBeSkipped if needed 2023-10-03 04:28:21 -07:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
effect Effect: Clarify threading for VideoFrameProcessor methods. 2023-11-14 06:07:27 -08:00
exoplayer Normalize MIME types when accepting user or media input 2023-11-14 07:40:15 -08:00
exoplayer_dash Parse "f800" as channel count of 5 for Dolby in DASH manifest 2023-11-13 04:00:24 -08:00
exoplayer_hls Normalize MIME types when accepting user or media input 2023-11-14 07:40:15 -08:00
exoplayer_ima Deprecate Bundleable and Bundleable.Creator 2023-11-03 08:27:21 -07:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-17 06:35:19 -07:00
exoplayer_smoothstreaming Add functionality to transmit CMCD data using query parameters 2023-08-31 02:11:12 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Normalize MIME types when accepting user or media input 2023-11-14 07:40:15 -08:00
muxer Make sure the mdat box is not extended by more than 1 GB at a time. 2023-09-08 04:07:13 -07:00
session Add icon URI to bundle serialization 2023-11-10 12:19:49 -08:00
test_data Plumb audio through AudioGraph for Composition preview. 2023-11-08 05:13:08 -08:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Only set the queue when COMMAND_GET_TIMELINE is available 2023-10-16 08:14:38 -07:00
test_session_current Deprecate Bundleable and Bundleable.Creator 2023-11-03 08:27:21 -07:00
test_utils Add ImageRenderer in CapturingRenderersFactory by default 2023-11-14 06:58:48 -08:00
test_utils_robolectric Enable offload scheduling by default for audio-only offload playback 2023-09-13 06:46:50 -07:00
transformer Normalize MIME types when accepting user or media input 2023-11-14 07:40:15 -08:00
ui Add info about using SurfaceView instead of TextureView 2023-11-07 05:35:09 -08:00
ui_leanback Prevent forwarding of zero video size to Leanback 2023-08-30 12:20:51 -07:00