media/libraries
ibaker e414f0d2ac Clean up Util.inferContentType methods
This fixes some small niggles:
1. `inferContentType(String)` is documented to take a path, but in the
   tests we're passing full URIs.
2. A `String` parameter is usually a path, but also a MIME type or an
   extension. In the new methods, the meaning of a `String` parameter
   is always clear from the name of the method.
3. `inferContentType(String)` is always passed an extension in
   'production' code (which has to be manually prefixed with a dot).
4. `inferContentType(Uri, @Nullable String)` always ignores the Uri if
   the String is non-null. IMO this logic is clearer to a reader if it's
   just in-lined at the call-site.

These methods are used from the demo apps, so will be part of the stable
API.

PiperOrigin-RevId: 444826053
2022-05-09 10:19:01 +01:00
..
cast Rename Player.COMMAND_GET_TRACK_INFOS to COMMAND_GET_TRACKS 2022-04-26 14:41:41 +01:00
common Clean up Util.inferContentType methods 2022-05-09 10:19:01 +01:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Stabilise HttpDataSource and its nested exceptions 2022-04-06 11:36:53 +01:00
datasource_cronet Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
datasource_okhttp Allow stable API users to customise the DataSource used 2022-03-23 10:05:27 +00:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Force CMake version 3.21.0+ for the FFMPEG extension 2022-03-14 13:42:31 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Revert of a29206d891 2022-04-25 20:59:35 +01:00
exoplayer_dash Merge pull request #10214 from cedricxperi:dev-v2 2022-05-09 10:14:11 +01:00
exoplayer_hls Fix non-inclusive language in class names. 2022-04-06 11:28:30 +01:00
exoplayer_ima Rename TracksInfo and TrackGroupInfo 2022-04-26 14:30:14 +01:00
exoplayer_rtsp Catch unchecked exception in RtspSessionTiming parsing. 2022-04-26 15:01:29 +01:00
exoplayer_smoothstreaming Fix non-inclusive language in class names. 2022-04-06 11:28:30 +01:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Merge pull request #9967 from jruesga:cea708-handle-multiple-service-blocks 2022-05-09 10:18:14 +01:00
session Update session position info on timeline change 2022-05-09 10:16:33 +01:00
test_data Merge pull request #10150 from egor-n:dev-v2-8435-outlinecolour 2022-05-09 10:15:05 +01:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Update error state of legacy playback state if authentication fails 2022-04-06 11:25:27 +01:00
test_session_current Fix incorrect format variable 2022-04-26 13:30:27 +01:00
test_utils Rename TracksInfo and TrackGroupInfo 2022-04-26 14:30:14 +01:00
test_utils_robolectric Fix the position of IntDefs to match TYPE_USE 2022-02-21 17:04:12 +00:00
transformer Transformer GL: Add support for pixelWidthHeightRatio. 2022-05-09 10:11:18 +01:00
ui Rename Player.COMMAND_GET_TRACK_INFOS to COMMAND_GET_TRACKS 2022-04-26 14:41:41 +01:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00