createLocalVideoTrack

fun createLocalVideoTrack(videoCapturer: VideoCapturer, videoProcessor: VideoProcessor? = null): LocalVideoTrack

Creates a LocalVideoTrack backed by the provided VideoCapturer.

VideoCapturer will be managed by LocalVideoTrack.

Return

a VideoCapturer-backed LocalVideoTrack

Parameters

videoCapturer

a VideoCapturer

videoProcessor

an optional VideoProcessor instance

Throws