Browser SDK
Build voice, video and chat applications for the browser
v4
Stable
deviceRecovered$
1get deviceRecovered$(): Observable<DeviceRecoveryEvent>
Observable that emits when the SDK auto-switches a device.
Observable that emits when the SDK auto-switches a device due to disconnect, reconnect, or recovery.
1client.deviceRecovered$.subscribe((deviceRecovered) => {2 console.log('deviceRecovered:', deviceRecovered);3});