media/library
ibaker 754eb1527a 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:23:38 +01:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Clean up Util.inferContentType methods 2022-05-09 10:23:38 +01:00
core Rollback of 8da6c35bbb 2022-04-26 17:02:35 +01:00
dash Merge pull request #10214 from cedricxperi:dev-v2 2022-04-26 18:28:38 +01:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix non-inclusive language in class names. 2022-04-07 15:40:24 +01:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
extractor Merge pull request #9967 from jruesga:cea708-handle-multiple-service-blocks 2022-05-09 10:20:22 +01:00
hls Fix non-inclusive language in class names. 2022-04-07 15:40:24 +01:00
rtsp Catch unchecked exception in RtspSessionTiming parsing. 2022-04-26 16:41:11 +01:00
smoothstreaming Fix non-inclusive language in class names. 2022-04-07 15:40:24 +01:00
transformer Transformer GL: Add support for pixelWidthHeightRatio. 2022-04-26 18:24:46 +01:00
ui Rename Player.COMMAND_GET_TRACK_INFOS to COMMAND_GET_TRACKS 2022-04-26 15:34:35 +01: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.