media/library/dash
Jorge Ruesga 435639979f
Enable embedded CEA-708 support
Currently, DashMediaPeriod only takes into account as CEA-608 accessibility tags as embedded
closed captions tracks CEA-608. CEA-708 closed captions format is parsed when is present on
its own AdaptationSet, but not when is embedded as an accessibility tag in a video AdaptaticonSet.

Embedded CEA-708 support is added by parsing accessibility tags like the example below:

  <Accessibility schemeIdUri="urn:scte:dash:cc:cea-708:2015" value="1=lang:eng;2=lang:deu"/>
  <Accessibility schemeIdUri="urn:scte:dash:cc:cea-708:2015" value="1=lang:eng;2=lang:eng,war:1,er:1"/>

so it creates a new CEA-708 track for accessibility tags with schemeIdUri = urn:scte:dash:cc:cea-708:2015
and extract accessibilityChannel and language from value attribute.

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2020-05-13 04:45:56 +01:00
..
src Enable embedded CEA-708 support 2020-05-13 04:45:56 +01:00
build.gradle Upgrade Kotlin annotations and fix gradle warnings 2020-03-10 10:19:19 +00:00
README.md Add links to the developer guide in some READMEs 2019-05-15 18:14:07 +01:00

ExoPlayer DASH library module

Provides support for Dynamic Adaptive Streaming over HTTP (DASH) content. To play DASH content, instantiate a DashMediaSource and pass it to ExoPlayer.prepare.

  • Developer Guide.
  • Javadoc: Classes matching com.google.android.exoplayer2.source.dash.* belong to this module.