LocalVideoTrack

A local video track.

Inheritors

Properties

Link copied to clipboard
abstract val capturing: Boolean

true if capturing, false otherwise

Functions

Link copied to clipboard
abstract fun addRenderer(renderer: Renderer)

Adds the supplied renderer and starts drawing on it.

Link copied to clipboard
fun LocalMediaTrack.capturingIn(scope: CoroutineScope, started: SharingStarted): StateFlow<Boolean>

Converts this LocalMediaTrack capturing state to a StateFlow.

Link copied to clipboard
abstract fun dispose()

Disposes this LocalMediaTrack and frees any resources held by it.

Link copied to clipboard

Converts this LocalMediaTrack capturing state to a Flow.

Link copied to clipboard

Registers a CapturingListener that will be notified when capturing state changes.

Link copied to clipboard
abstract fun removeRenderer(renderer: Renderer)

Removes the supplied renderer and stops drawing on it.

Link copied to clipboard
abstract fun startCapture()

Start the capture.

abstract fun startCapture(profile: QualityProfile)

Starts the capture with a specific QualityProfile.

Link copied to clipboard
abstract fun stopCapture()

Stops the capture.

Link copied to clipboard

Unregisters a previously registered CapturingListener.