
With fMP4 implementation there will be two writers `DefaultMp4Writer` and `FragmentedMp4Writer`. Changes includes: 1. Make Mp4Writer as an abstract class and keep only common functionality into it. 2. Create a DefaultMp4Writer which contains existing logic to write MP4. 3. The fMP4 logic needs to access `pending sample buffer info` at various places, so did refactoring to split List<Pair<BufferInfo, ByteBuffer>> into two separate lists. PiperOrigin-RevId: 592861398
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.