←Select platform
In This Topic ▼

MediaSample Class Methods

Summary

For a list of all members of this type, see MediaSample members

Public Methods

Name Description
Public Method Clone Creates a complete copy of this MediaSample object.
Public Method CopyTo Copies the data and all the attributes to another MediaSample object.
Public Method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public Method GetData Gets a copy of the actual MediaSample data in the buffer.
Public Method GetMediaTime Gets the media start and stop times for this sample.
Public Method GetMediaType Gets the media type, if the media type differs from the previous sample.
Public Method GetTime Gets the stream times at which this sample should start and stop.
Public Method ResetMediaTime Resets the media time.
Public Method ResetTime Invalidates the stream time.
Public Method SetData Copies sample data to the buffer.
Public Method SetMediaTime Sets the media times for this sample.
Public Method SetMediaType Sets the MediaSample's media type.
Public Method SetTime Sets the stream times when this sample should start and stop.
Help Version 20.0.2019.11.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly