Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Allows jvb to control DTLS/SRTP protection profile. (#7626)

Дамян Минков651d71320603
diff --git a/package-lock.json b/package-lock.json
index 2e9d11e0b5..fe42e096f2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10952,8 +10952,8 @@
}
},
"lib-jitsi-meet": {
- "version": "github:jitsi/lib-jitsi-meet#65df5b1da6bb6934e9d42f50d95aae0df6a5fd90",
- "from": "github:jitsi/lib-jitsi-meet#65df5b1da6bb6934e9d42f50d95aae0df6a5fd90",
+ "version": "github:jitsi/lib-jitsi-meet#94318fce12c855aefefdf8586bc8772065b505c9",
+ "from": "github:jitsi/lib-jitsi-meet#94318fce12c855aefefdf8586bc8772065b505c9",
"requires": {
"@jitsi/js-utils": "1.0.0",
"@jitsi/sdp-interop": "1.0.3",
diff --git a/package.json b/package.json
index b49182049c..4d1056152e 100644
--- a/package.json
+++ b/package.json
@@ -56,7 +56,7 @@
"jquery-i18next": "1.2.1",
"js-md5": "0.6.1",
"jwt-decode": "2.2.0",
- "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#65df5b1da6bb6934e9d42f50d95aae0df6a5fd90",
+ "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#94318fce12c855aefefdf8586bc8772065b505c9",
"libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
"lodash": "4.17.19",
"moment": "2.19.4",
diff --git a/react/features/large-video/logger.js b/react/features/large-video/logger.js
new file mode 100644
index 0000000000..173fafbf62
--- /dev/null
+++ b/react/features/large-video/logger.js
@@ -0,0 +1,5 @@
+// @flow
+
+import { getLogger } from '../base/logging/functions';
+
+export default getLogger('features/large-video');
diff --git a/react/features/large-video/middleware.js b/react/features/large-video/middleware.js
index 31a59ac8f7..4de4f02dca 100644
--- a/react/features/large-video/middleware.js
+++ b/react/features/large-video/middleware.js
@@ -9,6 +9,7 @@ import {
getLocalParticipant
} from '../base/participants';
import { MiddlewareRegistry } from '../base/redux';
+import { isTestModeEnabled } from '../base/testing';
import {
getTrackByJitsiTrack,
TRACK_ADDED,
@@ -17,6 +18,7 @@ import {
} from '../base/tracks';
import { selectParticipant, selectParticipantInLargeVideo } from './actions';
+import logger from './logger';
import './subscriber';
@@ -32,7 +34,12 @@ MiddlewareRegistry.register(store => next => action => {
switch (action.type) {
case DOMINANT_SPEAKER_CHANGED: {
- const localParticipant = getLocalParticipant(store.getState());
+ const state = store.getState();
+ const localParticipant = getLocalParticipant(state);
+
+ if (isTestModeEnabled(state)) {
+ logger.info(`Dominant speaker changed event for: ${action.participant.id}`);
+ }
if (localParticipant && localParticipant.id !== action.participant.id) {
store.dispatch(selectParticipantInLargeVideo());