LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
MediaSample Class Members
See Also  Properties  Methods 
Leadtools.Multimedia Namespace : MediaSample Class

The following tables list the members exposed by MediaSample.

Public Constructors

 NameDescription
public Constructor MediaSample ConstructorInstantiates a MediaSample object.  
Top

Public Properties

 NameDescription
public Property ActualDataLengthGets or sets the length of the valid buffer data, in bytes.  
public Property BufferGets a reference for direct access to the media sample buffer.  
public Property BufferSizeGets the size of the sample buffer, in bytes.  
public Property DiscontinuityGets or sets a value indicating whether this sample represents a break in the data stream.  
public Property PrerollGets or sets a value indicating whether the sample is a preroll sample.  
public Property SyncPointGets or sets a value indicating whether the beginning of the sample is a synchronization point.  
Top

Public Methods

 NameDescription
public Method DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
public Method GetDataGets a copy of the actual MediaSample data in the buffer.  
public Method GetMediaTimeGets the media start and stop times for this sample.  
public Method GetMediaTypeGets the media type, if the media type differs from the previous sample.  
public Method GetTimeGets the stream times at which this sample should start and stop.  
public Method ResetMediaTimeResets the media time.  
public Method ResetTimeInvalidates the stream time.  
public Method SetDataCopies sample data to the buffer.  
public Method SetMediaTimeSets the media times for this sample.  
public Method SetMediaTypeSets the MediaSample's media type.  
public Method SetTimeSets the stream times when this sample should start and stop.  
Top

See Also