Merge pull request #11235 from mariogasparoni/v2.2.x-release
Fix wrong path in settings for audio constraints
This commit is contained in:
commit
2912281829
@ -38,7 +38,7 @@ const WEBSOCKET_KEEP_ALIVE_INTERVAL = MEDIA.websocketKeepAliveInterval || 0;
|
||||
const WEBSOCKET_KEEP_ALIVE_DEBOUNCE = MEDIA.websocketKeepAliveDebounce || 10;
|
||||
const TRACE_SIP = MEDIA.traceSip || false;
|
||||
const AUDIO_MICROPHONE_CONSTRAINTS = Meteor.settings.public.app.defaultSettings
|
||||
.audio.microphoneConstraints;
|
||||
.application.microphoneConstraints;
|
||||
|
||||
const getAudioSessionNumber = () => {
|
||||
let currItem = parseInt(sessionStorage.getItem(AUDIO_SESSION_NUM_KEY), 10);
|
||||
@ -582,7 +582,7 @@ class SIPSession {
|
||||
|
||||
const target = SIP.UserAgent.makeURI(`sip:${callExtension}@${hostname}`);
|
||||
|
||||
const userSettingsConstraints = Settings.audio.microphoneConstraints;
|
||||
const userSettingsConstraints = Settings.application.microphoneConstraints;
|
||||
const audioDeviceConstraints = userSettingsConstraints
|
||||
|| AUDIO_MICROPHONE_CONSTRAINTS || {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user