Browse Source

Remove deprecated conference properties (#2173)

* Remove callstats conference property.

* Remove RTX conference property (removed from backend).

* Remove audioPacketDelay conference property (removed from backend).
tags/v0.0.2
bgrozev 3 years ago
parent
commit
9ba56b0bfe
No account linked to committer's email address
1 changed files with 1 additions and 32 deletions
  1. 1
    32
      modules/xmpp/moderator.js

+ 1
- 32
modules/xmpp/moderator.js View File

156
         elem.attrs({ 'session-id': sessionId });
156
         elem.attrs({ 'session-id': sessionId });
157
     }
157
     }
158
 
158
 
159
-    elem.c(
160
-        'property', {
161
-            name: 'disableRtx',
162
-            value: Boolean(config.disableRtx)
163
-        }).up();
164
-
165
-    if (config.audioPacketDelay !== undefined) {
166
-        elem.c(
167
-            'property', {
168
-                name: 'audioPacketDelay',
169
-                value: config.audioPacketDelay
170
-            }).up();
171
-    }
172
     if (config.startBitrate) {
159
     if (config.startBitrate) {
173
         elem.c(
160
         elem.c(
174
             'property', {
161
             'property', {
211
         elem.c(
198
         elem.c(
212
             'property', {
199
             'property', {
213
                 name: 'rtcstatsEnabled',
200
                 name: 'rtcstatsEnabled',
214
-                value: rtcstatsEnabled
215
-            }).up();
216
-    }
217
-
218
-    const { callStatsID, callStatsSecret, disableThirdPartyRequests, enableCallStats } = this.options.conference;
219
-    const callstatsDisabled = !callStatsID || !callStatsSecret || !enableCallStats
220
-
221
-        // Even though AppID and AppSecret may be specified, the integration
222
-        // of callstats.io may be disabled because of globally-disallowed
223
-        // requests to any third parties.
224
-        || disableThirdPartyRequests === true;
225
-
226
-    // since the default is true across all the server-side components, only signal if false.
227
-    if (callstatsDisabled) {
228
-        elem.c(
229
-            'property', {
230
-                name: 'callstatsEnabled',
231
-                value: !callstatsDisabled
201
+                value: false
232
             }).up();
202
             }).up();
233
     }
203
     }
234
-    elem.up();
235
 
204
 
236
     return elem;
205
     return elem;
237
 };
206
 };

Loading…
Cancel
Save