mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

This change adds the createMediaSource(MediaItem mediaItem) method to the MediaSourceFactory interface. It doesn't deprecate createMediaSource(Uri uri) to keep the cl smaller. Deprecation and removing calls to the deprecated method from within the library and extension follow in a separate CL. PiperOrigin-RevId: 298352442
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
.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.source.hls.*
belong to this module.