Mp4Muxer.Mp4AtFileParameters


public final class Mp4Muxer.Mp4AtFileParameters


Parameters for FILE_FORMAT_MP4_WITH_AUXILIARY_TRACKS_EXTENSION.

Summary

Nested types

Provides temporary cache files to be used by the muxer.

Public constructors

Mp4AtFileParameters(
    boolean shouldInterleaveSamples,
    @Nullable Mp4Muxer.Mp4AtFileParameters.CacheFileProvider cacheFileProvider
)

Creates an instance.

Public fields

shouldInterleaveSamples

public final boolean shouldInterleaveSamples

Public constructors

Mp4AtFileParameters

public Mp4AtFileParameters(
    boolean shouldInterleaveSamples,
    @Nullable Mp4Muxer.Mp4AtFileParameters.CacheFileProvider cacheFileProvider
)

Creates an instance.

Parameters
boolean shouldInterleaveSamples

Whether to interleave auxiliary track samples with primary track samples.

@Nullable Mp4Muxer.Mp4AtFileParameters.CacheFileProvider cacheFileProvider

A CacheFileProvider. Required only when shouldInterleaveSamples is set to false, can be null otherwise.