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