@naviedu/room-platform-react 0.0.39 → 0.0.41
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 +7 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -14475,6 +14475,12 @@ function RoomPlatformProvider(param) {
|
|
|
14475
14475
|
,
|
|
14476
14476
|
7
|
|
14477
14477
|
]);
|
|
14478
|
+
console.log('RoomPlatformProvider.unpublishCanonicalCamera', {
|
|
14479
|
+
publicationTrack: publication === null || publication === void 0 ? void 0 : publication.track,
|
|
14480
|
+
track: track,
|
|
14481
|
+
wasPublished: wasPublished,
|
|
14482
|
+
retainForPreview: retainForPreview
|
|
14483
|
+
});
|
|
14478
14484
|
if (!wasPublished) return [
|
|
14479
14485
|
3,
|
|
14480
14486
|
3
|
|
@@ -14487,7 +14493,7 @@ function RoomPlatformProvider(param) {
|
|
|
14487
14493
|
_state.sent();
|
|
14488
14494
|
_state.label = 3;
|
|
14489
14495
|
case 3:
|
|
14490
|
-
if (!(
|
|
14496
|
+
if (!(retainForPreview && track.mediaStreamTrack.readyState === 'ended')) return [
|
|
14491
14497
|
3,
|
|
14492
14498
|
5
|
|
14493
14499
|
];
|
|
@@ -16820,7 +16826,6 @@ function RoomParticipantActions(param) {
|
|
|
16820
16826
|
var isInvitingPrivateRoom = Boolean(actionPayload && isActionPending(RoomPlatformAction.PRIVATE_ROOM_INVITE, actionPayload));
|
|
16821
16827
|
var isCancelingPrivateRoom = isActionPending(RoomPlatformAction.PRIVATE_ROOM_CLOSE);
|
|
16822
16828
|
var canInvitePrivateRoom = Boolean(canUsePrivateRoom && !resolvedIsLocal && resolvedIsOnline && actionPayload && hasCapability('private_room:invite') && !currentPrivateRoomOperation);
|
|
16823
|
-
console.log('canInvitePrivateRoom', canInvitePrivateRoom);
|
|
16824
16829
|
var canCancelPrivateRoom = Boolean(isPrivateRoomRinging && hasCapability('private_room:close') && !isCancelingPrivateRoom);
|
|
16825
16830
|
var setActiveSpeaker = function() {
|
|
16826
16831
|
if (!actionPayload || isSettingActiveSpeakerPending) return;
|