RTVIClient
An RTVI client. Connects to an RTVI backend and handles bidirectional audio and video streaming.
The client must be cleaned up using the release method when it is no longer required.
Parameters
Transport for media streaming.
Callbacks invoked when changes occur in the voice session.
Additional options for configuring the client and backend.
Properties
Returns true if the camera is enabled, false otherwise.
Returns true if the microphone is enabled, false otherwise.
Returns the selected video input device.
Returns the selected audio input device.
The current state of the session.
Functions
Returns a list of supported actions.
Returns the expected structure of the server config.
Disconnect an active RTVI session.
Returns a list of available video input devices.
Returns a list of available audio input devices.
Initialize local media devices such as camera and microphone.
Registers a new helper with the client.
Directly send a message to the bot via the transport.
Unregisters a helper from the client.
Updates the config on the server.