audio: make listen only call timeout configurable
This commit is contained in:
parent
0f8b27d2d8
commit
1dbafffa26
@ -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) {
|
||||
|
@ -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',
|
||||
|
@ -200,6 +200,7 @@ public:
|
||||
callHangupMaximumRetries: 10
|
||||
echoTestNumber: 'echo'
|
||||
relayOnlyOnReconnect: false
|
||||
listenOnlyCallTimeout: 15000
|
||||
presentation:
|
||||
defaultPresentationFile: default.pdf
|
||||
panZoomThrottle: 32
|
||||
|
Loading…
Reference in New Issue
Block a user