Package-level declarations

Types

Link copied to clipboard

The single streamer audio configuration.

Link copied to clipboard
class AudioOnlySingleStreamer(context: Context, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory()) : ISingleStreamer, IAudioSingleStreamer

A ISingleStreamer implementation for audio only (without video).

Link copied to clipboard

An audio single Streamer

Link copied to clipboard

A single Streamer that is agnostic to the underlying implementation (either with coroutines or callbacks).

Link copied to clipboard

A video single streamer.

Link copied to clipboard
open class SingleStreamer(val context: Context, val withAudio: Boolean = true, val withVideo: Boolean = true, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation) : ISingleStreamer, IAudioSingleStreamer, IVideoSingleStreamer

A ISingleStreamer implementation for audio and video.

Link copied to clipboard

The single streamer video configuration.

Link copied to clipboard
class VideoOnlySingleStreamer(context: Context, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation) : ISingleStreamer, IVideoSingleStreamer

A ISingleStreamer implementation for video only (without audio).

Functions

Link copied to clipboard
suspend fun AudioOnlySingleStreamer(context: Context, audioSourceFactory: IAudioSourceInternal.Factory = MicrophoneSourceFactory(), endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory()): AudioOnlySingleStreamer

Creates a AudioOnlySingleStreamer with a default audio source.

Link copied to clipboard
suspend fun cameraSingleStreamer(context: Context, cameraId: String = context.defaultCameraId, audioSourceFactory: IAudioSourceInternal.Factory? = MicrophoneSourceFactory(), endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): SingleStreamer

Creates a SingleStreamer with the camera as video source and an audio source (by default, the microphone).

Link copied to clipboard
suspend fun cameraVideoOnlySingleStreamer(context: Context, cameraId: String = context.defaultCameraId, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): VideoOnlySingleStreamer

Creates a VideoOnlySingleStreamer with the camera as video source and no audio source.

Link copied to clipboard
suspend fun screenRecorderSingleStreamer(context: Context, audioSourceFactory: IAudioSourceInternal.Factory? = MicrophoneSourceFactory(), endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): SingleStreamer

Creates a SingleStreamer with the screen as video source and an audio source (by default, the microphone).

Link copied to clipboard
suspend fun screenRecorderVideoOnlySingleStreamer(context: Context, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): VideoOnlySingleStreamer

Creates a SingleStreamer with the screen as video source and no audio source.

Link copied to clipboard
suspend fun SingleStreamer(context: Context, audioSourceFactory: IAudioSourceInternal.Factory, videoSourceFactory: IVideoSourceInternal.Factory, endpointFactory: IEndpointInternal.Factory, defaultRotation: Int): SingleStreamer

Creates a SingleStreamer with an audio source and a video source.

Link copied to clipboard
suspend fun VideoOnlySingleStreamer(context: Context, videoSourceFactory: IVideoSourceInternal.Factory, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation): VideoOnlySingleStreamer

Creates a VideoOnlySingleStreamer with a default video source.