@azure/communication-react 1.10.1-alpha-202311290014 → 1.10.1-alpha-202312010014

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,7 +177,7 @@ const _isValidIdentifier = (identifier) => {
177
177
  // Copyright (c) Microsoft Corporation.
178
178
  // Licensed under the MIT License.
179
179
  // GENERATED FILE. DO NOT EDIT MANUALLY.
180
- var telemetryVersion = '1.10.1-alpha-202311290014';
180
+ var telemetryVersion = '1.10.1-alpha-202312010014';
181
181
 
182
182
  // Copyright (c) Microsoft Corporation.
183
183
  /**
@@ -18762,6 +18762,23 @@ const memoizeLocalParticipant = memoizeOne__default["default"]((identifier, disp
18762
18762
  });
18763
18763
  });
18764
18764
 
18765
+ // Copyright (c) Microsoft Corporation.
18766
+ /**
18767
+ * @private
18768
+ */
18769
+ const getRemoteParticipantsExcludingConsumers = reselect.createSelector([getRemoteParticipants$1], (remoteParticipants) => {
18770
+ /* @conditional-compile-remove(rooms) */
18771
+ {
18772
+ const newRemoteParticipants = Object.assign({}, remoteParticipants);
18773
+ Object.keys(newRemoteParticipants).forEach((k) => {
18774
+ if (newRemoteParticipants[k].role === 'Consumer') {
18775
+ delete newRemoteParticipants[k];
18776
+ }
18777
+ });
18778
+ return newRemoteParticipants;
18779
+ }
18780
+ });
18781
+
18765
18782
  // Copyright (c) Microsoft Corporation.
18766
18783
  /**
18767
18784
  * Provides data attributes to {@link VideoGallery} component.
@@ -18769,7 +18786,7 @@ const memoizeLocalParticipant = memoizeOne__default["default"]((identifier, disp
18769
18786
  */
18770
18787
  const videoGallerySelector = reselect.createSelector([
18771
18788
  getScreenShareRemoteParticipant,
18772
- getRemoteParticipants$1,
18789
+ getRemoteParticipantsExcludingConsumers,
18773
18790
  getLocalVideoStreams$1,
18774
18791
  getIsMuted,
18775
18792
  getIsScreenSharingOn,
@@ -18912,7 +18929,7 @@ const convertRemoteParticipantsToParticipantListParticipants = (remoteParticipan
18912
18929
  const participantListSelector = reselect.createSelector([
18913
18930
  getIdentifier,
18914
18931
  getDisplayName$2,
18915
- getRemoteParticipants$1,
18932
+ getRemoteParticipantsExcludingConsumers,
18916
18933
  getIsScreenSharingOn,
18917
18934
  getIsMuted,
18918
18935
  /* @conditional-compile-remove(raise-hand) */ getLocalParticipantRaisedHand$1,