Selecting Mic and Camera before starting session

In the openvidu-call app there is a screen where you can select input devices before connecting
https://openvidu.io/docs/demos/openvidu-call/

How is this done?
Can it be done on the insecure-js.

I can’t seem to see any information on it.

Hello @Benjamin_Harris

You can get the video and audio devices with getDevices() method that openvidu-browser provide us.

And of course, you can add this feature into insecure-js app with using the WebRTC API :

navigator.mediaDevices.enumerateDevices()

Regards