Share via


VTCompressionSession.PrepareToEncodeFrames Method

Definition

Prepare to encode frames.

public VideoToolbox.VTStatus PrepareToEncodeFrames();
member this.PrepareToEncodeFrames : unit -> VideoToolbox.VTStatus

Returns

Ok if successful, or an error code otherwise.

Remarks

Calling this method before starting an encoding operation is optional.

Applies to