CameraSourceFactory

A factory to create a CameraSource.

Parameters

cameraId

the camera id to use.

Constructors

Link copied to clipboard
constructor(cameraId: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@RequiresPermission(value = "android.permission.CAMERA")
open suspend override fun create(context: Context, dispatcherProvider: IVideoDispatcherProvider): IVideoSourceInternal

Creates an IVideoSourceInternal instance.

Link copied to clipboard
open override fun isSourceEquals(source: IVideoSourceInternal?): Boolean

Whether the source that will be created by create is equal to another source.

Link copied to clipboard
open override fun toString(): String