Rate this page:

VICustomVideoSource

Interface that represents custom video source.

Props

delegate

Copy URL
@property (weak, nullable, nonatomic) 

id<VICustomVideoSourceDelegate>

delegate

A delegate to handle custom video source events.

Methods

initScreenCastFormat

Copy URL
- (

instancetype

)initScreenCastFormat

Initialize screencast custom video source.

Returns

  • type:

    instancetype

initWithVideoFormats:

Copy URL
- (

instancetype

)initWithVideoFormats:(

NSArray<VIVideoFormat *> *

)formats

Initialize custom video source.

Parameters

  • formats:

    NSArray<VIVideoFormat *> *

    Video format for the custom video source.

Returns

  • type:

    instancetype

sendVideoFrame:rotation:

Copy URL
- (

void

)sendVideoFrame:(

CVPixelBufferRef

)buffer
rotation:(

VIRotation

)rotation

Send video frame.

Parameters

Returns

  • type:

    void