AVBlocks for .NET  1.13
Audio and Video Software Development Kit
MediaSample Class Reference

Represents one or more samples of media data. More...

Public Member Functions

 MediaSample ()
 Creates and empty sample. More...
 

Properties

MediaBuffer Buffer [get, set]
 The buffer storage. More...
 
double StartTime [get, set]
 Presentation timestamp. More...
 
double EndTime [get, set]
 The time when the media sample should end. More...
 
MediaSampleFlags Flags [get, set]
 Various properties of the media sample. More...
 

Detailed Description

Represents one or more samples of media data.

Constructor & Destructor Documentation

Creates and empty sample.

Property Documentation

MediaBuffer Buffer
getset

The buffer storage.

See Also
MediaBuffer

Referenced by Transcoder.Push().

double EndTime
getset

The time when the media sample should end.

The EndTime is valid only if it is positive and greater than the StartTime. The default value -1.0

MediaSampleFlags Flags
getset

Various properties of the media sample.

See Also
MediaSampleFlags
double StartTime
getset

Presentation timestamp.

The StartTime is valid if it is 0 or greater than 0. The default value -1.0