Class SingleSampleMediaSource

  • All Implemented Interfaces:
    MediaSource

    @Deprecated
    public final class SingleSampleMediaSource
    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.
    Loads data at a given Uri as a single sample belonging to a single MediaPeriod.