mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-8877 #resolve [Chrome Canary removed some audio mandatory constraints that break Verto]
This commit is contained in:
@@ -513,7 +513,7 @@
|
||||
audio = false;
|
||||
} else {
|
||||
audio = {
|
||||
mandatory: obj.options.audioParams,
|
||||
mandatory: {},
|
||||
optional: []
|
||||
};
|
||||
|
||||
@@ -521,6 +521,15 @@
|
||||
audio.optional = [{sourceId: obj.options.useMic}]
|
||||
}
|
||||
|
||||
if (obj.options.audioParams) {
|
||||
for (var key in obj.options.audioParams) {
|
||||
var con = {};
|
||||
con[key] = obj.options.audioParams[key];
|
||||
audio.optional.push(con);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (obj.options.useVideo && obj.options.localVideo) {
|
||||
|
Reference in New Issue
Block a user