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

This is a step towards unifying ShadowMediaCodecConfig structure to accommodate having both ExoPlayer and Transcoding codecs configuration. This includes: * Adding ability to configure encoders by calling `addEncoders(CodecInfo...)` * A new factory method that takes specific encoders and decoders CodecInfos * A new method `addCodecs(boolean, CodecConfig, CodecInfo...) that configures codecs with specified behavior by passing a `CodecConfig`. This CL also includes migrating Transformer tests to ShadowMediaCodecConfig. PiperOrigin-RevId: 747390451