FS-9395: downgrade some FSRTC console.error messages

Some of the console.error messages generated in FSRTC aren't really
error-worthy, downgrading appropriately.
This commit is contained in:
Chad Phillips 2016-10-11 15:51:32 -07:00
parent 0166ba281a
commit e4e99654e5
1 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@
} else { } else {
if (self.localStream.active){ if (self.localStream.active){
var tracks = self.localStream.getTracks(); var tracks = self.localStream.getTracks();
console.error(tracks); console.log(tracks);
tracks.forEach(function(track, index){ tracks.forEach(function(track, index){
console.log(track); console.log(track);
track.stop(); track.stop();
@ -314,7 +314,7 @@
} else { } else {
if (self.options.localVideoStream.active){ if (self.options.localVideoStream.active){
var tracks = self.options.localVideoStream.getTracks(); var tracks = self.options.localVideoStream.getTracks();
console.error(tracks); console.log(tracks);
tracks.forEach(function(track, index){ tracks.forEach(function(track, index){
console.log(track); console.log(track);
track.stop(); track.stop();
@ -1019,7 +1019,7 @@
onsuccess: function(e) { onsuccess: function(e) {
e.getTracks().forEach(function(track) {track.stop();}); e.getTracks().forEach(function(track) {track.stop();});
console.info(w + "x" + h + " supported."); $.FSRTC.validRes.push([w, h]); checkRes(cam, func);}, 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);}
}); });
} }