Agora Switch the media devices
// Switch the camera.
videoTrack.setDevice("<NEW_DEVICE_ID>").then(() => {
console.log("set device success");
}).catch(e => {
console.log("set device error", e);
});
getDevices
getCameras
getMicrophones
createMicrophoneAudioTrack
createCameraVideoTrack
CameraVideoTrack
MicrophoneAudioTrack