@UnstableApi
public final class MuxerUtil


Utility methods for muxer.

Summary

Constants

static final long

The maximum value of a 32-bit unsigned int.

Public methods

static BufferInfo

Returns BufferInfo corresponding to the MediaCodec.BufferInfo.

static boolean

Returns whether a given metadata is supported.

Constants

UNSIGNED_INT_MAX_VALUE

public static final long UNSIGNED_INT_MAX_VALUE = 4294967295

The maximum value of a 32-bit unsigned int.

Public methods

getMuxerBufferInfoFromMediaCodecBufferInfo

public static BufferInfo getMuxerBufferInfoFromMediaCodecBufferInfo(
    MediaCodec.BufferInfo mediaCodecBufferInfo
)

Returns BufferInfo corresponding to the MediaCodec.BufferInfo.

isMetadataSupported

public static boolean isMetadataSupported(Metadata.Entry metadata)

Returns whether a given metadata is supported.