|
@@ -8,6 +8,7 @@ import * as JitsiConnectionEvents from '../../JitsiConnectionEvents';
|
8
|
8
|
import { XMPPEvents } from '../../service/xmpp/XMPPEvents';
|
9
|
9
|
import browser from '../browser';
|
10
|
10
|
import { E2EEncryption } from '../e2ee/E2EEncryption';
|
|
11
|
+import FeatureFlags from '../flags/FeatureFlags';
|
11
|
12
|
import Statistics from '../statistics/statistics';
|
12
|
13
|
import GlobalOnErrorHandler from '../util/GlobalOnErrorHandler';
|
13
|
14
|
import Listenable from '../util/Listenable';
|
|
@@ -259,6 +260,11 @@ export default class XMPP extends Listenable {
|
259
|
260
|
|
260
|
261
|
logger.debug('Receiving multiple video streams is enabled');
|
261
|
262
|
this.caps.addFeature('http://jitsi.org/receive-multiple-video-streams');
|
|
263
|
+
|
|
264
|
+ // Advertise support for ssrc-rewriting.
|
|
265
|
+ if (FeatureFlags.isSsrcRewritingSupported()) {
|
|
266
|
+ this.caps.addFeature('http://jitsi.org/ssrc-rewriting-1');
|
|
267
|
+ }
|
262
|
268
|
}
|
263
|
269
|
|
264
|
270
|
/**
|