Muxer.Factory


public interface Muxer.Factory


Factory for muxers.

Summary

Public methods

abstract Muxer
create(String path)

Returns a new Muxer.

abstract ImmutableList<String>

Returns the supported sample MIME types for the given .

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.Muxer.MuxerException

If an error occurs opening the output file for writing.

getSupportedSampleMimeTypes

abstract ImmutableList<StringgetSupportedSampleMimeTypes(@C.TrackType int trackType)

Returns the supported sample MIME types for the given .