Back to Exoplayer

MediaSourceFactory (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/MediaSourceFactory.html

latest2.3 KB
Original Source

Package com.google.android.exoplayer2.source

Interface MediaSourceFactory

  • All Superinterfaces:MediaSource.FactoryAll Known Implementing Classes:DashMediaSource.Factory, DefaultMediaSourceFactory, FakeMediaSourceFactory, HlsMediaSource.Factory, ProgressiveMediaSource.Factory, RtspMediaSource.Factory, SsMediaSource.Factory

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceMediaSourceFactoryextends[MediaSource.Factory](MediaSource.Factory.html "interface in com.google.android.exoplayer2.source")

Deprecated. Use MediaSource.Factory.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static MediaSourceFactory | UNSUPPORTED | Deprecated.

An instance that throws UnsupportedOperationException from MediaSource.Factory.createMediaSource(com.google.android.exoplayer2.MediaItem) and MediaSource.Factory.getSupportedTypes(). |

Method Summary

- 

Methods inherited from interface com.google.android.exoplayer2.source.MediaSource.Factory

createMediaSource, getSupportedTypes, setCmcdConfigurationFactory, setDrmSessionManagerProvider, setLoadErrorHandlingPolicy

Field Detail

- 

UNSUPPORTED

static final[MediaSourceFactory](MediaSourceFactory.html "interface in com.google.android.exoplayer2.source")UNSUPPORTED

Deprecated.

An instance that throws UnsupportedOperationException from MediaSource.Factory.createMediaSource(com.google.android.exoplayer2.MediaItem) and MediaSource.Factory.getSupportedTypes().