Muxer.Factory
Artifact: androidx.media3:media3-muxer
public interface Muxer.Factory
Factory for muxers.
Summary
Public methods |
|
|---|---|
abstract Muxer |
Returns a new |
abstract ImmutableList<String> |
getSupportedSampleMimeTypes(@C.TrackType int trackType)Returns the supported sample |
default boolean |
Whether the muxer supports writing negative timestamps into an edit list to instruct players to ignore these samples. |
Public methods
create
abstract Muxer create(String path)
Returns a new Muxer.
| Parameters | |
|---|---|
String path |
The path to the output file. |
| Throws | |
|---|---|
androidx.media3.muxer.MuxerException |
If an error occurs opening the output file for writing. |
getSupportedSampleMimeTypes
abstract ImmutableList<String> getSupportedSampleMimeTypes(@C.TrackType int trackType)
Returns the supported sample MIME types for the given C.TrackType.
supportsWritingNegativeTimestampsInEditList
default boolean supportsWritingNegativeTimestampsInEditList()
Whether the muxer supports writing negative timestamps into an edit list to instruct players to ignore these samples.