Browse Source

echoCancellation

Nikolay Suslov 4 years ago
parent
commit
65d89f403c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      public/vwf/view/webrtc.js

+ 6 - 1
public/vwf/view/webrtc.js

@@ -529,7 +529,12 @@ define( [ "module", "vwf/view", "vwf/utility", "vwf/utility/color"], function( m
             var self = this;
             var self = this;
 
 
             var constraints = {
             var constraints = {
-                audio: true,
+                //audio: true,
+                audio: {
+                    "sampleSize": 16,
+                    "channelCount": 2,
+                    "echoCancellation": true
+                },
                 video: true
                 video: true
               };
               };