InputMapper

Call Input flow utilities

Functions

Link copied to clipboard
fun Call.hasAudioInput(): Flow<Boolean>

Utility function to detect whenever an audio input is available

Link copied to clipboard

Utility function to detect whenever an internal video input is available

Link copied to clipboard
fun Call.hasScreenSharingInput(): Flow<Boolean>

Utility function to detect whenever a screen sharing input is available

Link copied to clipboard

Utility function to detect whenever an input is active

Link copied to clipboard

Utility function to detect whenever the app screen input is active

Link copied to clipboard

Utility function to detect whenever the screen input is active

Link copied to clipboard
inline fun <T : Input> Call.isInputActive(): Flow<Boolean>

Utility function to detect whenever an input is active

Link copied to clipboard
fun Call.toAudioInput(): Flow<Input.Audio?>
Link copied to clipboard
fun Call.toCameraStreamAudio(): Flow<Input.Audio?>

Utility function to detect whenever a stream with audio has been created

Link copied to clipboard
fun Call.toCameraVideoInput(): Flow<Input.Video.My?>
Link copied to clipboard
fun Call.toMuteEvents(): Flow<Input.Audio.Event.Request.Mute>

Utility function to detect whenever an audio mute event has been sent

Link copied to clipboard
fun Call.toMyCameraStream(): Flow<Stream.Mutable>