MediaCodec.QueueRequest.SetPresentationTimeUs(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set timestamp to this queue request.
[Android.Runtime.Register("setPresentationTimeUs", "(J)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)]
public Android.Media.MediaCodec.QueueRequest SetPresentationTimeUs(long presentationTimeUs);
[<Android.Runtime.Register("setPresentationTimeUs", "(J)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)>]
member this.SetPresentationTimeUs : int64 -> Android.Media.MediaCodec.QueueRequest
Parameters
- presentationTimeUs
- Int64
The presentation timestamp in microseconds for this buffer. This is normally the media time at which this buffer should be presented (rendered). With an output surface, the presentation time is normally propagated as the frame's timestamp after conversion to nanoseconds. A codec may change the media time, and ReleaseOutputBuffer(Int32, Int64) can update the surface timestamp.
Returns
this object. This value cannot be null.
- Attributes
Remarks
Set timestamp to this queue request.
Android reference for android.media.MediaCodec.QueueRequest.setPresentationTimeUs.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.