media3/robolectricutils
ibaker b8c8ce0ee0 Use Mp4WebvttDecoder for WebVTT content in DASH MP4 containers
This was broken by 74a9d8f680
because DashManifestParser switched to setting Format.sampleMimeType to
text/vtt while SubtitleDecoderFactory was still expecting
application/x-mp4-vtt. This change teaches SubtitleDecoderFactory to
check both Format.containerMimeType and Format.sampleMimeType.

I'll investigate a follow-up change to remove
MimeTypes.APPLICATION_MP4VTT completely (it's currently still used in
AtomParsers).

Issue: #7985
PiperOrigin-RevId: 334771672
2020-10-17 12:09:13 +01:00
..
2020-10-17 12:08:59 +01:00
2020-10-17 12:08:59 +01:00

ExoPlayer Robolectric utils

Provides test infrastructure for ExoPlayer Robolectric-based tests.

  • Javadoc: Classes matching com.google.android.exoplayer2.robolectric belong to this module.