Simplify DemoPlayer + misc surrounding components.
1. Properly split out listening responsibilities so that DemoPlayer only listens to its own components. 2. Revert StreamingDrmSessionManager UnsupportedDrmScheme exceptions back to how they worked in V1, and inject a DrmSessionManager rather than a MediaDrmCallback into DemoPlayer. This much better prepares DemoPlayer for promotion into the core ExoPlayer library, since it removes assumptions such as what SampleSource and DrmSessionManager impls might be used with it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122980952
Showing
with
233 additions
and
236 deletions
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment