LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

MediaSample Class Members

Show in webframe
Properties  Methods 


The following tables list the members exposed by MediaSample.

Public Constructors
 NameDescription
MediaSample ConstructorInitializes a new instance of a MediaSample object with default parameters.  
Top
Public Properties
 NameDescription
ActualDataLengthGets or sets the length of the valid buffer data, in bytes.  
BufferGets a reference for direct access to the media sample buffer.  
BufferSizeGets the size of the sample buffer, in bytes.  
DiscontinuityGets or sets a value indicating whether this sample represents a break in the data stream.  
PrerollGets or sets a value indicating whether the sample is a preroll sample.  
SyncPointGets or sets a value indicating whether the beginning of the sample is a synchronization point.  
Top
Public Methods
 NameDescription
CloneCreates a complete copy of this MediaSample object.  
CopyToCopies the data and all the attributes to another MediaSample object.  
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
GetDataGets a copy of the actual MediaSample data in the buffer.  
GetMediaTimeGets the media start and stop times for this sample.  
GetMediaTypeGets the media type, if the media type differs from the previous sample.  
GetTimeGets the stream times at which this sample should start and stop.  
ResetMediaTimeResets the media time.  
ResetTimeInvalidates the stream time.  
SetDataCopies sample data to the buffer.  
SetMediaTimeSets the media times for this sample.  
SetMediaTypeSets the MediaSample's media type.  
SetTimeSets the stream times when this sample should start and stop.  
Top
See Also

Reference

MediaSample Class
Leadtools.Multimedia Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features