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.

API reference packages and classes for Android app developers.

Updated Feb 10, 2025

Improve your app's performance by learning how to optimize power consumption, launch times, and other important areas of performance.

Updated Jun 27, 2024

Connectivity describes how Android apps connect to and use network connections, including WiFi and Bluetooth.

Updated Feb 21, 2025