IMediaStreamController

interface IMediaStreamController

Controller for local media streams

Functions

Link copied to clipboard
abstract suspend fun addSink(sink: VideoSink)

Add a video sink to the local media stream.

Link copied to clipboard
abstract suspend fun removeSink(sink: VideoSink)

Remove a previously added video sink

Link copied to clipboard
abstract suspend fun start(): Boolean

Start recording and broadcasting the media stream

Link copied to clipboard
abstract fun stop(): Boolean

Pause recording and broadcasting the media stream

Properties

Link copied to clipboard
abstract val isStarted: Boolean

Inheritors

Link copied to clipboard
Link copied to clipboard