From e4e99654e5549836c34b951056ad20f83d4189cf Mon Sep 17 00:00:00 2001 From: Chad Phillips Date: Tue, 11 Oct 2016 15:51:32 -0700 Subject: [PATCH] FS-9395: downgrade some FSRTC console.error messages Some of the console.error messages generated in FSRTC aren't really error-worthy, downgrading appropriately. --- html5/verto/js/src/jquery.FSRTC.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index a35234ee62..70e7f0783c 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -293,7 +293,7 @@ } else { if (self.localStream.active){ var tracks = self.localStream.getTracks(); - console.error(tracks); + console.log(tracks); tracks.forEach(function(track, index){ console.log(track); track.stop(); @@ -314,7 +314,7 @@ } else { if (self.options.localVideoStream.active){ var tracks = self.options.localVideoStream.getTracks(); - console.error(tracks); + console.log(tracks); tracks.forEach(function(track, index){ console.log(track); track.stop(); @@ -1019,7 +1019,7 @@ onsuccess: function(e) { e.getTracks().forEach(function(track) {track.stop();}); console.info(w + "x" + h + " supported."); $.FSRTC.validRes.push([w, h]); checkRes(cam, func);}, - onerror: function(e) {console.error( w + "x" + h + " not supported."); checkRes(cam, func);} + onerror: function(e) {console.warn( w + "x" + h + " not supported."); checkRes(cam, func);} }); }