Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,2 @@ | ||
// Last time updated at Jan 19, 2015, 08:32:23 | ||
// Last time updated at April 28, 2015, 08:32:23 | ||
@@ -7,3 +7,3 @@ // Latest file can be found here: https://cdn.webrtc-experiment.com/DetectRTC.js | ||
// MIT License - www.WebRTC-Experiment.com/licence | ||
// Documentation - github.com/muaz-khan/WebRTC-Experiment/tree/master/DetectRTC | ||
// Documentation - github.com/muaz-khan/DetectRTC | ||
// ____________ | ||
@@ -161,3 +161,8 @@ // DetectRTC.js | ||
navigator.getMediaDevices(function(devices) { | ||
devices.forEach(function(device) { | ||
devices.forEach(function(_device) { | ||
var device = {}; | ||
for (var d in _device) { | ||
device[d] = _device[d]; | ||
} | ||
var skip; | ||
@@ -164,0 +169,0 @@ DetectRTC.MediaDevices.forEach(function(d) { |
{ | ||
"name": "detectrtc", | ||
"preferGlobal": true, | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Muaz Khan", |
17135
304