@naviedu/room-platform-react 0.0.3-8.1 → 0.0.3-9.1
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.
- package/index.esm.js +5 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -14475,6 +14475,10 @@ function RoomPlatformProvider(param) {
|
|
|
14475
14475
|
,
|
|
14476
14476
|
7
|
|
14477
14477
|
]);
|
|
14478
|
+
console.log('RoomPlatformProvider.unpublishCanonicalCamera', {
|
|
14479
|
+
wasPublished: wasPublished,
|
|
14480
|
+
retainForPreview: retainForPreview
|
|
14481
|
+
});
|
|
14478
14482
|
if (!wasPublished) return [
|
|
14479
14483
|
3,
|
|
14480
14484
|
3
|
|
@@ -16807,8 +16811,7 @@ function RoomParticipantActions(param) {
|
|
|
16807
16811
|
var resolvedParticipantIdentity = participantIdentity !== null && participantIdentity !== void 0 ? participantIdentity : mappedPresence === null || mappedPresence === void 0 ? void 0 : mappedPresence.participantIdentity;
|
|
16808
16812
|
var resolvedIsLocal = (_ref = isLocal !== null && isLocal !== void 0 ? isLocal : mappedPresence === null || mappedPresence === void 0 ? void 0 : mappedPresence.isLocal) !== null && _ref !== void 0 ? _ref : false;
|
|
16809
16813
|
var resolvedIsOnline = isOnline !== null && isOnline !== void 0 ? isOnline : Boolean(mappedPresence);
|
|
16810
|
-
var canUsePrivateRoom = (controlState === null || controlState === void 0 ? void 0 : controlState.mode) !== 'live';
|
|
16811
|
-
console.log('RoomParticipantActions.controlState?.mode', controlState === null || controlState === void 0 ? void 0 : controlState.mode);
|
|
16814
|
+
var canUsePrivateRoom = (controlState === null || controlState === void 0 ? void 0 : controlState.mode) && (controlState === null || controlState === void 0 ? void 0 : controlState.mode) !== 'live';
|
|
16812
16815
|
var _useRoomPlatformPrivateRoom = useRoomPlatformPrivateRoom(), cancelPrivateRoom = _useRoomPlatformPrivateRoom.cancelPrivateRoom, currentPrivateRoomOperation = _useRoomPlatformPrivateRoom.currentPrivateRoomOperation;
|
|
16813
16816
|
var roomPlatformToast = useRoomPlatformToast();
|
|
16814
16817
|
var _useState = _sliced_to_array$l(useState(false), 2), privateCallHovered = _useState[0], setPrivateCallHovered = _useState[1];
|