interface Muxer.Factory


Factory for muxers.

Summary

Public functions

Muxer!
create(path: String!)

Returns a new muxer writing to a file.

ImmutableList<String!>!

Returns the supported sample MIME types for the given .

Public functions

create

fun create(path: String!): Muxer!

Returns a new muxer writing to a file.

Parameters
path: String!

The path to the output file.

Throws
java.lang.IllegalArgumentException

If the path is invalid.

androidx.media3.transformer.Muxer.MuxerException

If an error occurs opening the output file for writing.

getSupportedSampleMimeTypes

fun getSupportedSampleMimeTypes(@C.TrackType trackType: Int): ImmutableList<String!>!

Returns the supported sample MIME types for the given .