docs/doc/reference/com/google/android/exoplayer2/transformer/Muxer.Factory.html
Package com.google.android.exoplayer2.transformer
DefaultMuxer.Factory, InAppMuxer.FactoryEnclosing interface:Muxerpublic static interfaceMuxer.Factory
Factory for muxers.
All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| Muxer | create(String path) |
Returns a new muxer writing to a file.
|
| ImmutableList<String> | getSupportedSampleMimeTypes(@com.google.android.exoplayer2.C.TrackType int trackType) |
Returns the supported sample MIME types for the given C.TrackType.
|
-
[Muxer](Muxer.html "interface in com.google.android.exoplayer2.transformer")create([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")path)
throws[Muxer.MuxerException](Muxer.MuxerException.html "class in com.google.android.exoplayer2.transformer")
Returns a new muxer writing to a file.
Parameters:path - The path to the output file.Throws:IllegalArgumentException - If the path is invalid.Muxer.MuxerException - If an error occurs opening the output file for writing.
-
[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")> getSupportedSampleMimeTypes(@com.google.android.exoplayer2.C.TrackType int trackType)
Returns the supported sample MIME types for the given C.TrackType.