Package-level declarations
Types
Link copied to clipboard
open class RTVIClient(transport: TransportFactory, callbacks: RTVIEventCallbacks, options: RTVIClientOptions)
An RTVI client. Connects to an RTVI backend and handles bidirectional audio and video streaming.
Link copied to clipboard
data class RTVIClientOptions( val params: RTVIClientParams, val enableMic: Boolean = true, val enableCam: Boolean = false, val services: List<ServiceRegistration>? = null)
Configuration options when instantiating a RTVIClient.
Link copied to clipboard
data class RTVIClientParams( val baseUrl: String?, val headers: List<Pair<String, String>> = emptyList(), val endpoints: RTVIURLEndpoints = RTVIURLEndpoints(), val requestData: List<Pair<String, Value>> = emptyList(), val config: List<ServiceConfig> = emptyList())
Connection options when instantiating a RTVIClient.
Link copied to clipboard
Callbacks invoked when changes occur in the RTVI session.