mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

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