Also move it to the `drm` package, and extract a `DrmSessionManagerProvider` interface. I'll add `MediaSourceFactory.setDrmSessionProvider()` in a follow-up change. Issue: #8466 PiperOrigin-RevId: 352582559 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| README.md | ||
ExoPlayer SmoothStreaming library module
Provides support for SmoothStreaming content.
Adding a dependency to this module is all that's required to enable playback of
SmoothStreaming MediaItems added to an ExoPlayer or SimpleExoPlayer in
their default configurations. Internally, DefaultMediaSourceFactory will
automatically detect the presence of the module and convert SmoothStreaming
MediaItems into SsMediaSource instances for playback.
Similarly, a DownloadManager in its default configuration will use
DefaultDownloaderFactory, which will automatically detect the presence of
the module and build SsDownloader instances to download SmoothStreaming
content.
For advanced playback use cases, applications can build SsMediaSource
instances and pass them directly to the player. For advanced download use cases,
SsDownloader can be used directly.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.source.smoothstreaming.*belong to this module.