Merge pull request #1003 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-9395-downgrade-FSRTC-console-error to master

* commit 'e4e99654e5549836c34b951056ad20f83d4189cf':
  FS-9395: downgrade some FSRTC console.error messages
This commit is contained in:
Mike Jerris 2016-10-12 17:04:02 -05:00
commit d5a1c19638
1 changed files with 3 additions and 3 deletions

View File

@ -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);}
});
}