Rate this page:

VICustomVideoSource

Interface that represents a custom video source.

Props

delegate

Copy URL
delegate: 

A delegate to handle a custom video source events.

Methods

initScreenCastFormat

Copy URL
initScreenCastFormat(): 

instancetype

Initializes a screencast custom video source.

Returns

  • type:

    instancetype

initWithVideoFormats:

Copy URL
initWithVideoFormats:(formats: 

NSArray<VIVideoFormat *> *

):

instancetype

Initializes a custom video source.

Parameters

  • formats:

    NSArray<VIVideoFormat *> *

    Video format for the custom video source

Returns

  • type:

    instancetype

sendVideoFrame:rotation:

Copy URL
sendVideoFrame:rotation:(buffer: 

CVPixelBufferRef

,
rotation:

VIRotation

):

void

Sends a video frame.

Parameters

Returns

  • type:

    void