createCameraVideoTrack
Creates a CameraVideoTrack for the best available camera.
Best available camera is determined by the following order:
First front-facing camera
First back-facing camera
First available camera
Return
Parameters
callback
a callback used to signal various camera events
Throws
if CameraVideoTrackFactory has been disposed
abstract fun createCameraVideoTrack(deviceName: String, callback: CameraVideoTrack.Callback): CameraVideoTrack
Creates a CameraVideoTrack for specific deviceName.
Return
Parameters
deviceName
a device name that should be opened
callback
a callback used to signal various camera events
Throws
if CameraVideoTrackFactory has been disposed