VideoCapturer

Represents a video capture device that can start and stop video recording. Implementations should properly handle resource cleanup.

Report a problem

Properties

Link copied to clipboard
abstract val source: VideoTrackSource

The underlying video track source that provides video frames.

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun start()

Starts video capture from this device. This method should be called before the video source can produce frames.

Link copied to clipboard
abstract fun stop()

Stops video capture from this device. After calling this method, the video source will no longer produce frames.