setupLocalView abstract method

Future<VoidResult> setupLocalView(
  1. int viewId
)

Binds the local video stream to the render target identified by viewId.

viewId is typically returned by NECallkitVideoView.onPlatformViewCreated. On macOS this is a platform view id backed by a native NSView. On Windows this is a texture renderer id.

On macOS, NECallkitVideoView and texture-based renderers (NECallkitTextureView / NECallkitVideoRenderer) cannot be mixed in the same active RTC lifecycle.

Implementation

Future<VoidResult> setupLocalView(int viewId);