You can now listen for an event to react to whatever cameras / microphones are being present:
ZiggeoApi.V2.Device.on("device_info", function (cameras, microphones, cameraCount, microphoneCount) {
console(cameras, microphones);
});
Please make sure to include at least revision 16.