olly ff822ff9fd HLS: Fix key rotation
Passing EXT-X-KEY DrmInitData through the FragmentedMp4Extractor
doesn't work for streams with key rotation, because an extractor
instance is used for multiple segments, but is only passed the
EXT-X-KEY DrmInitData corresponding to the first segment.

This change removes passing DrmInitData through the extractor,
and instead passes it via FormatAdjustingSampleQueue. This is
in-line with how manifest DrmInitData is handled during DASH
playbacks.

Issue: #6903
PiperOrigin-RevId: 292323429
2020-01-30 19:30:58 +00:00
..
2020-01-30 19:30:58 +00:00
2019-11-17 00:33:26 +00: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.