Transport

abstract class Transport

An RTVI transport.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun connect(authBundle: AuthBundle): Future<Unit, VoiceError>
Link copied to clipboard
abstract fun disconnect(): Future<Unit, VoiceError>
Link copied to clipboard
abstract fun enableCam(enable: Boolean): Future<Unit, VoiceError>
Link copied to clipboard
abstract fun enableMic(enable: Boolean): Future<Unit, VoiceError>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun initDevices(): Future<Unit, VoiceError>
Link copied to clipboard
abstract fun isCamEnabled(): Boolean
Link copied to clipboard
abstract fun isMicEnabled(): Boolean
Link copied to clipboard
abstract fun release()
Link copied to clipboard
abstract fun selectedCam(): MediaDeviceInfo?
Link copied to clipboard
abstract fun selectedMic(): MediaDeviceInfo?
Link copied to clipboard
Link copied to clipboard
abstract fun setState(state: TransportState)
Link copied to clipboard
abstract fun state(): TransportState
Link copied to clipboard
abstract fun tracks(): Tracks
Link copied to clipboard
abstract fun updateCam(camId: MediaDeviceId): Future<Unit, VoiceError>
Link copied to clipboard
abstract fun updateMic(micId: MediaDeviceId): Future<Unit, VoiceError>