Sfoglia il codice sorgente

fix(lastn) Update lastN on virtual screenshare updates.

Fixes https://github.com/jitsi/jitsi-meet/issues/13448.
factor2
Jaya Allamsetty 2 anni fa
parent
commit
3ae18be21f
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5
    1
      react/features/base/lastn/middleware.ts

+ 5
- 1
react/features/base/lastn/middleware.ts Vedi File

@@ -3,7 +3,10 @@ import debounce from 'lodash/debounce';
3 3
 import { IStore } from '../../app/types';
4 4
 import { SET_FILMSTRIP_ENABLED } from '../../filmstrip/actionTypes';
5 5
 import { APP_STATE_CHANGED } from '../../mobile/background/actionTypes';
6
-import { SET_CAR_MODE } from '../../video-layout/actionTypes';
6
+import {
7
+    SET_CAR_MODE,
8
+    VIRTUAL_SCREENSHARE_REMOTE_PARTICIPANTS_UPDATED
9
+} from '../../video-layout/actionTypes';
7 10
 import { SET_AUDIO_ONLY } from '../audio-only/actionTypes';
8 11
 import { CONFERENCE_JOINED } from '../conference/actionTypes';
9 12
 import { getParticipantById } from '../participants/functions';
@@ -81,6 +84,7 @@ MiddlewareRegistry.register(store => next => action => {
81 84
     case SET_AUDIO_ONLY:
82 85
     case SET_CAR_MODE:
83 86
     case SET_FILMSTRIP_ENABLED:
87
+    case VIRTUAL_SCREENSHARE_REMOTE_PARTICIPANTS_UPDATED:
84 88
         _updateLastN(store);
85 89
         break;
86 90
     }

Loading…
Annulla
Salva