media/library
ibaker e0a9540cd3 Mark MediaItem.Subtitle.mimeType as @Nullable
The MIME type is currently required to select a SubtitleDecoder
implementation in the TextRenderer. Future changes might remove this
requirement, so we pre-emptively mark the field as @Nullable.

The change in SingleSampleMediaSource ensures the track still maps to
the TextRenderer, otherwise it shows up as unmapped. Passing null MIME
type to MediaItem.Subtitle constructor now results in this from
EventLogger:

TextRenderer [
  Group:0, adaptive_supported=N/A [
    [ ] Track:0, id=null, mimeType=text/x-unknown, language=en, supported=NO_UNSUPPORTED_TYPE
  ]
]

PiperOrigin-RevId: 398010809
2021-09-23 14:49:15 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:41:50 +01:00
common Mark MediaItem.Subtitle.mimeType as @Nullable 2021-09-23 14:49:15 +01:00
core Mark MediaItem.Subtitle.mimeType as @Nullable 2021-09-23 14:49:15 +01:00
dash Simplify usage of MediaItem.Builder in DashMediaSource 2021-09-23 14:45:16 +01:00
extractor Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
hls Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
rtsp Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
smoothstreaming Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
transformer Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
ui Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +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.