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

Issue: #9392 reports occasional IllegalStateExceptions from release() in crashlytics,`with no way to reproduce locally. It seems likely there is a bug somewhere in DRM handling, and ideally we would find that and fix it. However we haven't been able to find the problem, and in the meantime these exceptions cause the entire app to crash. Although this is arguably useful from a debugging perspective, it's obviously a poor experience for developers and users, since all we're actually trying to do is release the session, so maybe we shouldn't strictly care that it's already released? This change replaces the exception with an error log, which might be a useful debugging hint if we see other DRM unexpected behaviour due to references to released sessions being held for too long. PiperOrigin-RevId: 403942546
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.