←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 SetDXGITexture Writes a Direct3D 11 2D Texture to the media sample data.
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.

See Also

MediaSample Class

Leadtools.Multimedia Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.