media/library/core
ibaker 59fc51ea4c Add fail-fast null checks to the stable Player API
This will help developers self-diagnose issues like Issue: google/ExoPlayer#10392
where the NPE occurs far from the original null value because a field
gets assigned to null.

This change aims to ensure that every stable method on Player,
ExoPlayer and ExoPlayer.Builder that takes a non-null type will fail
with an NPE before returning.

#minor-release

PiperOrigin-RevId: 461846580
(cherry picked from commit 080db2a09b)
2022-07-19 11:05:40 +00:00
..
src Add fail-fast null checks to the stable Player API 2022-07-19 11:05:40 +00:00
build.gradle Add lint baseline for spurious API-level warnings 2022-06-17 10:04:57 +01:00
lint-baseline.xml Add lint baseline for spurious API-level warnings 2022-06-17 10:04:57 +01:00
proguard-rules.txt Remove FfmpegVideoRenderer from 2.1.18 release 2022-05-30 18:22:06 +00:00
README.md Tidy READMEs 2021-10-26 14:08:21 +01:00

ExoPlayer module

This module provides ExoPlayer, the Player implementation for local media playback on Android.

Getting the module

The easiest way to get the module is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:exoplayer-core:2.X.X'

where 2.X.X is the version, which must match the version of the other media modules being used.

Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.

Using the module

The developer guide documents how to get started.