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

- Split the transmux setting into transmuxAudio and transmuxVideo. This is more flexible for apps and will also be useful for unit testing (particularly as we can't test video transcoding on Robolectric at the moment). - Move these settings to Composition. It makes sense for these settings to be next to forceAudioTrack. Apps may also want to set these settings based on the current Composition's MediaItems. - Add a Composition.Builder because Composition now contains a few optional fields. PiperOrigin-RevId: 511708618