Interface Muxer.Factory
-
- All Known Implementing Classes:
DefaultMuxer.Factory
,InAppMuxer.Factory
- Enclosing interface:
- Muxer
public static interface Muxer.Factory
Factory for muxers.
-
-
Method Summary
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 givenC.TrackType
.
-
-
-
Method Detail
-
create
Muxer create(String path) throws Muxer.MuxerException
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.
-
getSupportedSampleMimeTypes
ImmutableList<String> getSupportedSampleMimeTypes(@com.google.android.exoplayer2.C.TrackType int trackType)
Returns the supported sample MIME types for the givenC.TrackType
.
-
-