media/demos/main
ibaker 701be41534 Demo app: Fail fast if parsing invalid DRM config from JSON
These fields can't be used if `drm_uuid` isn't set. Make that case throw
an exception, so it's obvious to a developer what's wrong.

Most of the fields 'obviously' need `drm_uuid` to be set, but it's not
obvious for `drm_session_for_clear_content` (because it might be
reasonable to assume it's possible to play clear content without
specifying a UUID). This tripped me up in
https://github.com/google/ExoPlayer/issues/8842#issuecomment-833659808.

PiperOrigin-RevId: 397328556
2021-09-20 12:54:55 +01:00
..
src/main Demo app: Fail fast if parsing invalid DRM config from JSON 2021-09-20 12:54:55 +01:00
build.gradle Bump dependency versions 2021-06-30 13:53:01 +01:00
proguard-rules.txt Depend on the IMA extension in noExtensions variant 2020-07-24 10:39:03 +01:00
README.md Adding instructions on how to build and run ExoPlayer demo apps 2020-05-21 17:08:53 +01:00

ExoPlayer main demo

This is the main ExoPlayer demo application. It uses ExoPlayer to play a number of test streams. It can be used as a starting point or reference project when developing other applications that make use of the ExoPlayer library.

Please see the demos README for instructions on how to build and run this demo.