@azure/communication-react 1.26.0-alpha-202504050017 → 1.26.0-alpha-202504080017

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CMC23X5X.js');
3
+ var index = require('./index-BWWxc3Tx.js');
4
4
  require('react');
5
5
  require('@fluentui/react');
6
6
  require('@fluentui/react-components');
@@ -2,5 +2,5 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  // GENERATED FILE. DO NOT EDIT MANUALLY.
5
- module.exports = '1.26.0-alpha-202504050017';
5
+ module.exports = '1.26.0-alpha-202504080017';
6
6
  //# sourceMappingURL=telemetryVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.26.0-alpha-202504050017';\n"]}
1
+ {"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.26.0-alpha-202504080017';\n"]}
@@ -1008,7 +1008,7 @@ export class AzureCommunicationCallAdapter {
1008
1008
  }
1009
1009
  returnFromBreakoutRoom() {
1010
1010
  return __awaiter(this, void 0, void 0, function* () {
1011
- var _a, _b;
1011
+ var _a, _b, _c;
1012
1012
  const callState = ((_a = this.call) === null || _a === void 0 ? void 0 : _a.id) ? this.callClient.getState().calls[this.call.id] : undefined;
1013
1013
  const assignedBreakoutRoom = (_b = callState === null || callState === void 0 ? void 0 : callState.breakoutRooms) === null || _b === void 0 ? void 0 : _b.assignedBreakoutRoom;
1014
1014
  if (!assignedBreakoutRoom) {
@@ -1016,6 +1016,10 @@ export class AzureCommunicationCallAdapter {
1016
1016
  }
1017
1017
  this.context.setIsReturningFromBreakoutRoom(true);
1018
1018
  const mainMeeting = yield assignedBreakoutRoom.returnToMainMeeting();
1019
+ // Mute main meeting if the breakout room was muted
1020
+ if ((_c = this.call) === null || _c === void 0 ? void 0 : _c.isMuted) {
1021
+ mainMeeting.mute();
1022
+ }
1019
1023
  this.originCall = mainMeeting;
1020
1024
  this.processNewCall(mainMeeting);
1021
1025
  });
@@ -1217,8 +1221,12 @@ export class AzureCommunicationCallAdapter {
1217
1221
  }
1218
1222
  }
1219
1223
  breakoutRoomJoined(call) {
1220
- var _a;
1224
+ var _a, _b;
1221
1225
  if (((_a = this.call) === null || _a === void 0 ? void 0 : _a.id) !== call.id) {
1226
+ // Mute the breakout room call if the main call was muted
1227
+ if ((_b = this.call) === null || _b === void 0 ? void 0 : _b.isMuted) {
1228
+ call.mute();
1229
+ }
1222
1230
  this.processNewCall(call);
1223
1231
  }
1224
1232
  // Hang up other breakout room calls in case we are joining a new breakout room while already in one