Просмотр исходного кода

rn: don't start native call integration multiple times

When you join a conference that needs an authenticated moderator, as a guest, Jitsi Meet will continuously try and connect to the meeting every 5 seconds. Avoid starting the native call integration more than once.

Fixes: https://github.com/jitsi/jitsi-meet/issues/6260
j8
Jon Leren Schøpzinsky 4 лет назад
Родитель
Сommit
8fa41bebb7
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 5 добавлений и 0 удалений
  1. 5
    0
      react/features/mobile/call-integration/middleware.js

+ 5
- 0
react/features/mobile/call-integration/middleware.js Просмотреть файл

@@ -264,6 +264,11 @@ function _conferenceWillJoin({ dispatch, getState }, next, action) {
264 264
     const handle = callHandle || url.toString();
265 265
     const hasVideo = !isVideoMutedByAudioOnly(state);
266 266
 
267
+    // If we already have a callUUID set, don't start a new call.
268
+    if (conference.callUUID) {
269
+        return result;
270
+    }
271
+
267 272
     // When assigning the call UUID, do so in upper case, since iOS will return
268 273
     // it upper cased.
269 274
     conference.callUUID = (callUUID || uuid.v4()).toUpperCase();

Загрузка…
Отмена
Сохранить