audio: make listen only call timeout configurable

This commit is contained in:
prlanzarin 2020-07-09 17:11:05 +00:00
parent 0f8b27d2d8
commit 1dbafffa26
3 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const SFU_URL = Meteor.settings.public.kurento.wsUrl;
const MEDIA = Meteor.settings.public.media;
const MEDIA_TAG = MEDIA.mediaTag.replace(/#/g, '');
const GLOBAL_AUDIO_PREFIX = 'GLOBAL_AUDIO_';
const RECONNECT_TIMEOUT_MS = 15000;
const RECONNECT_TIMEOUT_MS = MEDIA.listenOnlyCallTimeout || 15000;
export default class KurentoAudioBridge extends BaseAudioBridge {
constructor(userData) {

View File

@ -14,7 +14,7 @@ const MEDIA = Meteor.settings.public.media;
const MEDIA_TAG = MEDIA.mediaTag;
const ECHO_TEST_NUMBER = MEDIA.echoTestNumber;
const MAX_LISTEN_ONLY_RETRIES = 1;
const LISTEN_ONLY_CALL_TIMEOUT_MS = 15000;
const LISTEN_ONLY_CALL_TIMEOUT_MS = MEDIA.listenOnlyCallTimeout || 15000;
const CALL_STATES = {
STARTED: 'started',

View File

@ -200,6 +200,7 @@ public:
callHangupMaximumRetries: 10
echoTestNumber: 'echo'
relayOnlyOnReconnect: false
listenOnlyCallTimeout: 15000
presentation:
defaultPresentationFile: default.pdf
panZoomThrottle: 32