VERTO: expose audio mandatory constraints to demo and disable a few that seem to mess with audio quality

This commit is contained in:
Anthony Minessale committed 2014-10-13 19:26:29 -04:00
1 parent cff5209ca3
commit 401aa24f4a
4 files changed
+21 -7

No files matched your search

+9 -2
View File
@@ -78,6 +78,7 @@
userData: null,
iceServers: false,
videoParams: {},
audioParams: {},
callbacks: {
onICEComplete: function() {},
onICE: function() {},
@@ -322,7 +323,10 @@
getUserMedia({
constraints: {
audio: true,
audio: {
mandatory: this.options.audioParams,
optional: []
},
video: this.options.useVideo ? {
mandatory: this.options.videoParams,
optional: []
@@ -379,7 +383,10 @@
getUserMedia({
constraints: {
audio: true,
audio: {
mandatory: this.options.audioParams,
optional: []
},
video: this.options.useVideo ? {
mandatory: this.options.videoParams,
optional: []
+2
View File
@@ -72,6 +72,7 @@
socketUrl: null,
tag: null,
videoParams: {},
audioParams: {},
iceServers: false,
ringSleep: 6000
},
@@ -1498,6 +1499,7 @@
useAudio: dialog.audioStream,
useStereo: dialog.params.useStereo,
videoParams: verto.options.videoParams,
audioParams: verto.options.audioParams,
iceServers: verto.options.iceServers
});