← All changelog entries

New Device Change JavaScript API Events

New

We introduced two new JS API events: onAudioDeviceChange and onVideoDeviceChange. These events are triggered whenever the active audio or video input device is successfully changed. Each event provides the MediaTrackSettings of the newly created audio or video track.

Build slug: d4a29d0af