Class ProgressiveMediaSource

  • All Implemented Interfaces:
    MediaSource

    @Deprecated
    public final class ProgressiveMediaSource
    extends BaseMediaSource
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Provides one period that loads data from a Uri and extracted using an Extractor.

    If the possible input stream container formats are known, pass a factory that instantiates extractors for them to the constructor. Otherwise, pass a DefaultExtractorsFactory to use the default extractors. When reading a new stream, the first Extractor in the array of extractors created by the factory that returns true from Extractor.sniff(com.google.android.exoplayer2.extractor.ExtractorInput) will be used to extract samples from the input stream.

    Note that the built-in extractor for FLV streams does not support seeking.