create Local Video Track
fun createLocalVideoTrack(context: Context, enabled: Boolean, videoCapturer: VideoCapturer, videoFormat: VideoFormat? = null, name: String? = null): LocalVideoTrack?
Content copied to clipboard
Creates a local video track.
The video capturer will be instructed to capture at the provided VideoFormat.
Return
local video track if successfully added or null if video track could not be created.
See also
com.twilio.video.LocalVideoTrack
Parameters
context
application context.
enabled
initial state of video track.
videoCapturer
capturer that provides video frames.
videoFormat
format to capture frames. (optional)
name
video track name. (optional)