media/demos/main
ibaker 06c17f5152 Redefine numeric Cue.line in terms of viewport lines, ignore lineAnchor
Numerical lines conceptually map to a grid of lines in the viewport,
with the Cue text lines being aligned to one of the viewport lines.

It doesn't make sense to position a single-line cue differently based
on lineAnchor when it's expected to 'snap' to a particular line on the
viewport grid. So we redefine the position to be in terms of the cue
lines rather than the bounds of the cue box.

It's also not possible to always handle ANCHOR_TYPE_MIDDLE when
lineType=NUMBER (as it relies on the number of lines in the cue being
odd), so it's easier to ignore lineAnchor completely.
PiperOrigin-RevId: 318034664
2020-06-26 11:13:33 +01:00
..
src/main Redefine numeric Cue.line in terms of viewport lines, ignore lineAnchor 2020-06-26 11:13:33 +01:00
build.gradle Enable multidex for demos 2020-05-27 18:59:43 +01:00
proguard-rules.txt Suppress proguard notes about unresolved classes 2018-02-01 15:24:00 +00: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.