tonihei 7b855e45e6 Enable HLS sample queues as soon as possible.
Currently, the sample queues are lazily enabled when they are first read from.
This causes problems when the player tries to discard buffer and the
HlsSampleStreamWrapper assumes the sample queue is disabled even though it's
actually enabled but hasn't been read from.

This change moves setting the sample queue index of the sample stream back into
HlsSampleStreamWrapper. It enables the sample queues at track selection if the
queues are already built, or immediately after they have been built for
chunkless preparation.

Issue:#4241

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197415741
2018-05-22 09:12:55 +01:00
..

ExoPlayer HLS library module

Provides support for HTTP Live Streaming (HLS) content. To play HLS content, instantiate a HlsMediaSource and pass it to ExoPlayer.prepare.

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