client.on() and unsubscribe using client.off(). All events are fully typed when using TypeScript.
Connection Events
Call Events
Audio Events
Info Message Events
Transcription Events
Error Events
Unsubscribing from Events
To remove an event listener, useclient.off() with the same event name and callback reference: