InAppMuxer.Factory


public final class InAppMuxer.Factory implements Muxer.Factory


Muxer.Factory for InAppMuxer.

Summary

Nested types

public final class InAppMuxer.Factory.Builder

A builder for Factory instances.

Public methods

InAppMuxer
create(String path)

Returns a new Muxer.

ImmutableList<String>

Returns the supported sample MIME types for the given .

Public methods

create

public InAppMuxer 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

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

Returns the supported sample MIME types for the given .