Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 03-May-2024 | - | 2,651 | 1,854 | ||
README.md | D | 03-May-2024 | 917 | 31 | 19 | |
build.gradle | D | 03-May-2024 | 1.9 KiB | 55 | 47 |
README.md
1# ExoPlayer Cast extension # 2 3## Description ## 4 5The cast extension is a [Player][] implementation that controls playback on a 6Cast receiver app. 7 8[Player]: https://exoplayer.dev/doc/reference/index.html?com/google/android/exoplayer2/Player.html 9 10## Getting the extension ## 11 12The easiest way to use the extension is to add it as a gradle dependency: 13 14```gradle 15implementation 'com.google.android.exoplayer:extension-cast:2.X.X' 16``` 17 18where `2.X.X` is the version, which must match the version of the ExoPlayer 19library being used. 20 21Alternatively, you can clone the ExoPlayer repository and depend on the module 22locally. Instructions for doing this can be found in ExoPlayer's 23[top level README][]. 24 25[top level README]: https://github.com/google/ExoPlayer/blob/release-v2/README.md 26 27## Using the extension ## 28 29Create a `CastPlayer` and use it to integrate Cast into your app using 30ExoPlayer's common `Player` interface. 31