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, RTVIError>
Link copied to clipboard
abstract fun disconnect(): Future<Unit, RTVIError>
Link copied to clipboard
abstract fun enableCam(enable: Boolean): Future<Unit, RTVIError>
Link copied to clipboard
abstract fun enableMic(enable: Boolean): Future<Unit, RTVIError>
Link copied to clipboard
abstract fun expiry(): Long?

The expiry time for the transport session, if applicable. Measured in seconds since the UNIX epoch (UTC).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun initDevices(): Future<Unit, RTVIError>
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, RTVIError>
Link copied to clipboard
abstract fun updateMic(micId: MediaDeviceId): Future<Unit, RTVIError>