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:
parent
0166ba281a
commit
e4e99654e5
|
@ -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);}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue