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

PlayerWrapper throws Exception if getters is called in the STATE_IDLE. In that case, log may print 50+ lines of stack traces. It's verbose and can be considered as serious issue. This CL include folloing changes - Change to use ExoPlayer's log class - Adjust log level, because it would be consumed by caller - Leave log when the debug flag is turned on. Another CL will remove exceptions between PlayerWrapper and and SessionPlayerConnector, not to use Exception for ordinary control flow as the Effective Java suggests. PiperOrigin-RevId: 326614559
ExoPlayer extensions
ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.