mirror of
https://github.com/androidx/media.git
synced 2025-05-16 03:59:54 +08:00

Since the muxer supported only AAC audio codec, the esdsBox was unconditionally created within the audioSampleEntry. This CL refactors the box creation logic by moving it to the codecSpecificBox method. This is to make adding support for new audio codecs easier. PiperOrigin-RevId: 650130935 (cherry picked from commit a2693553698bf75a6874f2a5bd7fc8b855232372)
Muxer module
Provides functionality for producing media container files.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-muxer:1.X.X'
where 1.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.