IStreamer

interface IStreamer

Inheritors

Properties

Link copied to clipboard

Access configuration helper.

Link copied to clipboard

Listener that reports streamer error. Supports only one listener.

Link copied to clipboard

Access extended streamer settings.

Functions

Link copied to clipboard
@RequiresPermission(value = "android.permission.RECORD_AUDIO")
abstract fun configure(audioConfig: AudioConfig)

Configures only audio settings.

abstract fun configure(videoConfig: VideoConfig)

Configures only video settings.

@RequiresPermission(value = "android.permission.RECORD_AUDIO")
abstract fun configure(audioConfig: AudioConfig, videoConfig: VideoConfig)

Configures both video and audio settings.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> IStreamer.getStreamer(): T?

Get a streamer if it from generic class or interface

Link copied to clipboard
abstract fun release()

Clean and reset the streamer.

Link copied to clipboard
abstract suspend fun startStream()

Starts audio/video stream.

Link copied to clipboard
abstract suspend fun stopStream()

Stops audio/video stream.