Name Date Size #Lines LOC

..--

src/H25-Apr-2025-4,3523,353

README.mdH A D25-Apr-20251 KiB3622

build.gradleH A D25-Apr-20251.5 KiB3733

README.md

1# Cast module
2
3This module provides a [Player][] implementation that controls a Cast receiver
4app.
5
6[Player]: https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/Player.html
7
8## Getting the module
9
10The easiest way to get the module is to add it as a gradle dependency:
11
12```gradle
13implementation 'com.google.android.exoplayer:extension-cast:2.X.X'
14```
15
16where `2.X.X` is the version, which must match the version of the other media
17modules being used.
18
19Alternatively, you can clone this GitHub project and depend on the module
20locally. Instructions for doing this can be found in the [top level README][].
21
22[top level README]: https://github.com/google/ExoPlayer/blob/release-v2/README.md
23
24## Using the module
25
26Create a `CastPlayer` and use it to control a Cast receiver app. Since
27`CastPlayer` implements the `Player` interface, it can be passed to all media
28components that accept a `Player`, including the UI components provided by the
29UI module.
30
31## Links
32
33*   [Javadoc][]
34
35[Javadoc]: https://exoplayer.dev/doc/reference/index.html
36