Språk

MediaCodec.FrameRenderedEventArgs(MediaCodec, Int64, Int64) Constructor

Definition

Creates frame-rendering arguments from the supplied codec and timestamps.

public FrameRenderedEventArgs(Android.Media.MediaCodec codec, long presentationTimeUs, long nanoTime);
new Android.Media.MediaCodec.FrameRenderedEventArgs : Android.Media.MediaCodec * int64 * int64 -> Android.Media.MediaCodec.FrameRenderedEventArgs

Parameters

codec
MediaCodec

The codec that reported the rendered frame.

presentationTimeUs
Int64

The rendered frame's media presentation time, in microseconds.

nanoTime
Int64

The frame's render time on the system nanosecond clock.

Remarks

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.

Applies to