cameraVideoOnlySingleStreamer
suspend fun cameraVideoOnlySingleStreamer(context: Context, cameraId: String = context.defaultCameraId, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): VideoOnlySingleStreamer
Creates a VideoOnlySingleStreamer with the camera as video source and no audio source.
Parameters
context
the application context
cameraId
the camera id to use. By default, it is the default camera.
endpointFactory
the IEndpointInternal.Factory implementation. By default, it is a DynamicEndpointFactory.
defaultRotation
the default rotation in Surface rotation (Surface.ROTATION_0, ...). By default, it is the current device orientation.