Muxer.Factory


interface Muxer.Factory


Factory for muxers.

Summary

Public functions

Muxer!
create(path: String!)

Returns a new Muxer.

ImmutableList<String!>!

Returns the supported sample MIME types for the given .

Public functions

create

fun create(path: String!): Muxer!

Returns a new Muxer.

Parameters
path: String!

The path to the output file.

Throws
androidx.media3.muxer.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 .