Mp4Muxer.EditableVideoParameters


public final class Mp4Muxer.EditableVideoParameters


Parameters for FILE_FORMAT_EDITABLE_VIDEO.

Summary

Nested types

Provides temporary cache files to be used by the muxer.

Public constructors

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

Creates an instance.

Public fields

shouldInterleaveSamples

public final boolean shouldInterleaveSamples

Public constructors

EditableVideoParameters

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

Creates an instance.

Parameters
boolean shouldInterleaveSamples

Whether to interleave editable video track samples with primary track samples.

@Nullable Mp4Muxer.EditableVideoParameters.CacheFileProvider cacheFileProvider

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