StreamerLifeCycleObserver
constructor(streamer: IStreamer, releaseOnDestroy: Boolean = false, startAudioCaptureOnResume: Boolean = false, coroutineDispatcher: CoroutineDispatcher = Dispatchers.Default)(source)
Parameters
streamer
The streamer to control
releaseOnDestroy
Whether to release the streamer when application is destroyed. If a view model is used, this should be set to false.
startAudioCaptureOnResume
Whether to start audio capture when application is resumed.