create Video Track
fun createVideoTrack(videoParameters: VideoParameters, metadata: Metadata, captureDeviceName: String? = null): LocalVideoTrack
Creates a video track utilizing device's camera.
The client assumes that the user has already granted camera permissions. an instance of the video trackReturn
Parameters
video Parameters
a set of target parameters such as camera resolution, frame rate or simulcast configuration
metadata
the metadata that will be sent to the Membrane RTC Engine for media negotiation
capture Device Name
the name of the device to start video capture with, you can get device name by using LocalVideoTrack.getCaptureDevices
method