Skip to main content
Version: 12 Dec 2024

MLMediaMuxerSampleData

Data type that encapsulates sample data to be written in to Muxer.

Public Methods

MLMediaMuxerSampleData Create

public static MLMediaMuxerSampleData Create()

Public Attributes

Buffer

Pointer to the sample buffer/data.


public byte [] Buffer;


Flags

The flag about the data.


public CodecBufferFlags Flags;

TypeDescription
CodecBufferFlagsIndicate the type of data when queuing the input buffer of muxer sample data

Size

Size of the sample buuffer/data.


public uint Size;


Time

The buffer's time stamp in microseconds.


public ulong Time;


TrackIndex

The track index number, to which to write the sample data into. This should be a value returned by AddAudioTrack or AddVideoTrack


public uint TrackIndex;


Version

Version of this structure.


public uint Version;