]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9395: downgrade some FSRTC console.error messages
authorChad Phillips <chad@apartmentlines.com>
Tue, 11 Oct 2016 22:51:32 +0000 (15:51 -0700)
committerChad Phillips <chad@apartmentlines.com>
Tue, 11 Oct 2016 22:51:32 +0000 (15:51 -0700)
Some of the console.error messages generated in FSRTC aren't really
error-worthy, downgrading appropriately.

html5/verto/js/src/jquery.FSRTC.js

index a35234ee62edf1eaab9e4d36d09501b456368273..70e7f0783c394b30b1258c3f3cfb899faed54255 100644 (file)
             } 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();
             } 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();
            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);}
         });
     }