mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00

Logic for determining if (and how) decoders can be adapted is currently split between renderers and MediaCodecInfo. This change centralizes the majority of the logic in MediaCodecInfo. This change also fixes a bug in MediaCodecAudioRenderer when computing max values for the codec. Previously, max values would not be increased to account for potential adaptation to another stream in the case that the codec needs to be flushed for the adaptation to occur. PiperOrigin-RevId: 339133416
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.