Fix minimum API level issue
Transformer's minimum API level is 21, where-as the full library is still targeting 16. Hence we should no longer include the transformer module in the full library dependency. #minor-release PiperOrigin-RevId: 426958045
This commit is contained in:
parent
a3f981ae86
commit
9f85a525d7
@ -147,6 +147,11 @@
|
|||||||
([#9775](https://github.com/google/ExoPlayer/issues/9775)).
|
([#9775](https://github.com/google/ExoPlayer/issues/9775)).
|
||||||
* Ignores invalid RTP-Info header values
|
* Ignores invalid RTP-Info header values
|
||||||
([#9619](https://github.com/google/ExoPlayer/issues/9619)).
|
([#9619](https://github.com/google/ExoPlayer/issues/9619)).
|
||||||
|
* Transformer:
|
||||||
|
* The transformer module is no longer included by depending on
|
||||||
|
`com.google.android.exoplayer:exoplayer`. To continue using
|
||||||
|
transformer, add an additional dependency on
|
||||||
|
`com.google.android.exoplayer:exoplayer-transformer`.
|
||||||
* Cast extension
|
* Cast extension
|
||||||
* Fix bug that prevented `CastPlayer` from calling `onIsPlayingChanged`
|
* Fix bug that prevented `CastPlayer` from calling `onIsPlayingChanged`
|
||||||
correctly ([#9792](https://github.com/google/ExoPlayer/issues/9792)).
|
correctly ([#9792](https://github.com/google/ExoPlayer/issues/9792)).
|
||||||
|
@ -50,28 +50,16 @@ implementation 'com.google.android.exoplayer:exoplayer-ui:2.X.X'
|
|||||||
~~~
|
~~~
|
||||||
{: .language-gradle}
|
{: .language-gradle}
|
||||||
|
|
||||||
When depending on individual modules they must all be the same version.
|
When depending on individual modules, they must all be the same version. You can
|
||||||
|
browse the list of available modules on the [Google Maven ExoPlayer page][]. The
|
||||||
The available library modules are listed below. Adding a dependency to the full
|
full library includes all of the library modules prefixed with `exoplayer-`,
|
||||||
ExoPlayer library is equivalent to adding dependencies on all of the library
|
except for `exoplayer-transformer`.
|
||||||
modules individually.
|
|
||||||
|
|
||||||
* `exoplayer-core`: Core functionality (required).
|
|
||||||
* `exoplayer-dash`: Support for DASH content.
|
|
||||||
* `exoplayer-hls`: Support for HLS content.
|
|
||||||
* `exoplayer-rtsp`: Support for RTSP content.
|
|
||||||
* `exoplayer-smoothstreaming`: Support for SmoothStreaming content.
|
|
||||||
* `exoplayer-transformer`: Media transformation functionality.
|
|
||||||
* `exoplayer-ui`: UI components and resources for use with ExoPlayer.
|
|
||||||
|
|
||||||
In addition to library modules, ExoPlayer has extension modules that depend on
|
In addition to library modules, ExoPlayer has extension modules that depend on
|
||||||
external libraries to provide additional functionality. Some extensions are
|
external libraries to provide additional functionality. Some extensions are
|
||||||
available from the Maven repository, whereas others must be built manually.
|
available from the Maven repository, whereas others must be built manually.
|
||||||
Browse the [extensions directory][] and their individual READMEs for details.
|
Browse the [extensions directory][] and their individual READMEs for details.
|
||||||
|
|
||||||
More information on the library and extension modules that are available can be
|
|
||||||
found on the [Google Maven ExoPlayer page][].
|
|
||||||
|
|
||||||
### Turn on Java 8 support ###
|
### Turn on Java 8 support ###
|
||||||
|
|
||||||
If not enabled already, you need to turn on Java 8 support in all `build.gradle`
|
If not enabled already, you need to turn on Java 8 support in all `build.gradle`
|
||||||
|
@ -24,7 +24,6 @@ dependencies {
|
|||||||
api project(modulePrefix + 'library-hls')
|
api project(modulePrefix + 'library-hls')
|
||||||
api project(modulePrefix + 'library-rtsp')
|
api project(modulePrefix + 'library-rtsp')
|
||||||
api project(modulePrefix + 'library-smoothstreaming')
|
api project(modulePrefix + 'library-smoothstreaming')
|
||||||
api project(modulePrefix + 'library-transformer')
|
|
||||||
api project(modulePrefix + 'library-ui')
|
api project(modulePrefix + 'library-ui')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user