mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
VERTO: expose audio mandatory constraints to demo and disable a few that seem to mess with audio quality
This commit is contained in:
1 parent
cff5209ca3
commit
401aa24f4a
4 files changed
+21
-7
No files matched your search
@@ -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: []
|
||||
|
||||
Reference in new issue
Block a user