@whereby.com/core 1.23.4 → 1.25.0
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/dist/index.cjs +309 -254
- package/dist/index.d.cts +18 -2
- package/dist/index.d.mts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.mjs +309 -255
- package/dist/legacy-esm.js +309 -255
- package/dist/redux/index.cjs +294 -250
- package/dist/redux/index.d.cts +41 -20
- package/dist/redux/index.d.mts +41 -20
- package/dist/redux/index.d.ts +41 -20
- package/dist/redux/index.js +293 -251
- package/dist/redux/index.mjs +293 -251
- package/package.json +3 -3
package/dist/legacy-esm.js
CHANGED
|
@@ -1237,7 +1237,7 @@ function fakeWebcamFrame(canvas) {
|
|
|
1237
1237
|
setInterval(() => drawWebcamFrame(canvas), 50);
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
-
const CANVAS_VIDEO_FPS =
|
|
1240
|
+
const CANVAS_VIDEO_FPS = 30;
|
|
1241
1241
|
function getAudioTrack() {
|
|
1242
1242
|
const audioStream = fakeAudioStream();
|
|
1243
1243
|
return audioStream.getAudioTracks()[0];
|
|
@@ -1308,7 +1308,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1308
1308
|
});
|
|
1309
1309
|
};
|
|
1310
1310
|
|
|
1311
|
-
const coreVersion = "1.
|
|
1311
|
+
const coreVersion = "1.25.0";
|
|
1312
1312
|
|
|
1313
1313
|
function decodeRoomName(roomName) {
|
|
1314
1314
|
if (!roomName) {
|
|
@@ -1362,6 +1362,12 @@ const selectAppIsNodeSdk = (state) => state.app.isNodeSdk;
|
|
|
1362
1362
|
const selectAppInitialMuteStates = (state) => state.app.initialMuteStates;
|
|
1363
1363
|
const selectAppIgnoreBreakoutGroups = (state) => state.app.ignoreBreakoutGroups;
|
|
1364
1364
|
|
|
1365
|
+
const NON_RECONNECTING_DISCONNECT_REASONS = ["io server disconnect", "io client disconnect"];
|
|
1366
|
+
function createSignalDisconnectEvent(reason) {
|
|
1367
|
+
return {
|
|
1368
|
+
willReconnect: !!reason && !NON_RECONNECTING_DISCONNECT_REASONS.includes(reason),
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1365
1371
|
function createSignalEventAction(name) {
|
|
1366
1372
|
return createAction(`signalConnection/event/${name}`);
|
|
1367
1373
|
}
|
|
@@ -1579,7 +1585,7 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
1579
1585
|
dispatch(signalEvents.chatMessage(payload));
|
|
1580
1586
|
});
|
|
1581
1587
|
socket.on("chat_message_removed", (payload) => dispatch(signalEvents.chatMessageRemoved(payload)));
|
|
1582
|
-
socket.on("disconnect", () => dispatch(signalEvents.disconnect()));
|
|
1588
|
+
socket.on("disconnect", (reason) => dispatch(signalEvents.disconnect(createSignalDisconnectEvent(reason))));
|
|
1583
1589
|
socket.on("room_knocked", (payload) => dispatch(signalEvents.roomKnocked(payload)));
|
|
1584
1590
|
socket.on("room_left", () => dispatch(signalEvents.roomLeft()));
|
|
1585
1591
|
socket.on("room_locked", (payload) => dispatch(signalEvents.roomLocked(payload)));
|
|
@@ -2556,6 +2562,271 @@ const selectRoomConnectionSessionId = (state) => { var _a; return (_a = state.ro
|
|
|
2556
2562
|
const selectRoomConnectionStatus = (state) => state.roomConnection.status;
|
|
2557
2563
|
const selectRoomConnectionError = (state) => state.roomConnection.error;
|
|
2558
2564
|
const selectRoomConnectionKnockResponse = (state) => state.roomConnection.knockResponse;
|
|
2565
|
+
const selectRoomConnectionIsRejoining = (state) => state.roomConnection.isRejoining;
|
|
2566
|
+
|
|
2567
|
+
const organizationSliceInitialState = {
|
|
2568
|
+
data: null,
|
|
2569
|
+
isFetching: false,
|
|
2570
|
+
error: null,
|
|
2571
|
+
};
|
|
2572
|
+
const organizationSlice = createSlice({
|
|
2573
|
+
name: "organization",
|
|
2574
|
+
initialState: organizationSliceInitialState,
|
|
2575
|
+
reducers: {},
|
|
2576
|
+
extraReducers: (builder) => {
|
|
2577
|
+
builder.addCase(doOrganizationFetch.pending, (state) => {
|
|
2578
|
+
return Object.assign(Object.assign({}, state), { isFetching: true });
|
|
2579
|
+
});
|
|
2580
|
+
builder.addCase(doOrganizationFetch.fulfilled, (state, action) => {
|
|
2581
|
+
if (!action.payload)
|
|
2582
|
+
return Object.assign(Object.assign({}, state), { isFetching: true });
|
|
2583
|
+
return Object.assign(Object.assign({}, state), { isFetching: false, data: action.payload });
|
|
2584
|
+
});
|
|
2585
|
+
builder.addCase(doOrganizationFetch.rejected, (state) => {
|
|
2586
|
+
return Object.assign(Object.assign({}, state), { isFetching: false, error: true });
|
|
2587
|
+
});
|
|
2588
|
+
},
|
|
2589
|
+
});
|
|
2590
|
+
const doOrganizationFetch = createAppAsyncThunk("organization/doOrganizationFetch", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { extra, getState }) {
|
|
2591
|
+
try {
|
|
2592
|
+
const roomUrl = selectAppRoomUrl(getState());
|
|
2593
|
+
const organization = yield extra.services.fetchOrganizationFromRoomUrl(roomUrl || "");
|
|
2594
|
+
if (!organization) {
|
|
2595
|
+
throw new Error("Invalid room url");
|
|
2596
|
+
}
|
|
2597
|
+
return organization;
|
|
2598
|
+
}
|
|
2599
|
+
catch (error) {
|
|
2600
|
+
console.error(error);
|
|
2601
|
+
}
|
|
2602
|
+
}));
|
|
2603
|
+
const selectOrganizationRaw = (state) => state.organization;
|
|
2604
|
+
const selectOrganizationId = (state) => { var _a; return (_a = state.organization.data) === null || _a === void 0 ? void 0 : _a.organizationId; };
|
|
2605
|
+
const selectOrganizationPreferences = (state) => { var _a; return (_a = state.organization.data) === null || _a === void 0 ? void 0 : _a.preferences; };
|
|
2606
|
+
const selectShouldFetchOrganization = createSelector(selectAppIsActive, selectOrganizationRaw, selectDeviceCredentialsRaw, (appIsActive, organization, deviceCredentials) => {
|
|
2607
|
+
if (appIsActive &&
|
|
2608
|
+
!organization.data &&
|
|
2609
|
+
!organization.isFetching &&
|
|
2610
|
+
!organization.error &&
|
|
2611
|
+
!deviceCredentials.isFetching) {
|
|
2612
|
+
return true;
|
|
2613
|
+
}
|
|
2614
|
+
return false;
|
|
2615
|
+
});
|
|
2616
|
+
createReactor([selectShouldFetchOrganization], ({ dispatch }, shouldFetchOrganization) => {
|
|
2617
|
+
if (shouldFetchOrganization) {
|
|
2618
|
+
dispatch(doOrganizationFetch());
|
|
2619
|
+
}
|
|
2620
|
+
});
|
|
2621
|
+
|
|
2622
|
+
const roomConnectionSliceInitialState = {
|
|
2623
|
+
session: null,
|
|
2624
|
+
status: "ready",
|
|
2625
|
+
error: null,
|
|
2626
|
+
knockResponse: null,
|
|
2627
|
+
isRejoining: false,
|
|
2628
|
+
};
|
|
2629
|
+
const roomConnectionSlice = createSlice({
|
|
2630
|
+
name: "roomConnection",
|
|
2631
|
+
initialState: roomConnectionSliceInitialState,
|
|
2632
|
+
reducers: {
|
|
2633
|
+
connectionStatusChanged: (state, action) => {
|
|
2634
|
+
return Object.assign(Object.assign({}, state), { status: action.payload });
|
|
2635
|
+
},
|
|
2636
|
+
knockResponseReceived: (state, action) => {
|
|
2637
|
+
return Object.assign(Object.assign({}, state), { knockResponse: action.payload });
|
|
2638
|
+
},
|
|
2639
|
+
roomRejoined: (state, action) => {
|
|
2640
|
+
return state;
|
|
2641
|
+
},
|
|
2642
|
+
},
|
|
2643
|
+
extraReducers: (builder) => {
|
|
2644
|
+
builder.addCase(signalEvents.roomJoined, (state, action) => {
|
|
2645
|
+
var _a;
|
|
2646
|
+
if ("error" in action.payload) {
|
|
2647
|
+
if (action.payload.error === "room_locked" && action.payload.isLocked) {
|
|
2648
|
+
return Object.assign(Object.assign({}, state), { status: "room_locked" });
|
|
2649
|
+
}
|
|
2650
|
+
return Object.assign(Object.assign({}, state), { status: "disconnected", error: action.payload.error, isRejoining: false });
|
|
2651
|
+
}
|
|
2652
|
+
const { room } = action.payload;
|
|
2653
|
+
return Object.assign(Object.assign({}, state), { status: "connected", session: (_a = room.session) !== null && _a !== void 0 ? _a : null, isRejoining: false });
|
|
2654
|
+
});
|
|
2655
|
+
builder.addCase(signalEvents.disconnect, (state, action) => {
|
|
2656
|
+
if (["kicked", "left"].includes(state.status)) {
|
|
2657
|
+
return Object.assign({}, state);
|
|
2658
|
+
}
|
|
2659
|
+
const { willReconnect } = action.payload;
|
|
2660
|
+
return Object.assign(Object.assign({}, state), { status: willReconnect ? "reconnecting" : "disconnected", isRejoining: willReconnect && (state.isRejoining || state.status === "connected") });
|
|
2661
|
+
});
|
|
2662
|
+
builder.addCase(signalEvents.newClient, (state, action) => {
|
|
2663
|
+
var _a, _b;
|
|
2664
|
+
return Object.assign(Object.assign({}, state), { session: (_b = (_a = action.payload.room) === null || _a === void 0 ? void 0 : _a.session) !== null && _b !== void 0 ? _b : null });
|
|
2665
|
+
});
|
|
2666
|
+
builder.addCase(signalEvents.roomSessionEnded, (state, action) => {
|
|
2667
|
+
var _a;
|
|
2668
|
+
if (((_a = state.session) === null || _a === void 0 ? void 0 : _a.id) !== action.payload.roomSessionId) {
|
|
2669
|
+
return state;
|
|
2670
|
+
}
|
|
2671
|
+
return Object.assign(Object.assign({}, state), { session: null });
|
|
2672
|
+
});
|
|
2673
|
+
builder.addCase(signalEvents.clientKicked, (state) => {
|
|
2674
|
+
return Object.assign(Object.assign({}, state), { status: "kicked" });
|
|
2675
|
+
});
|
|
2676
|
+
builder.addCase(signalEvents.roomLeft, (state) => {
|
|
2677
|
+
return Object.assign(Object.assign({}, state), { status: "left" });
|
|
2678
|
+
});
|
|
2679
|
+
},
|
|
2680
|
+
});
|
|
2681
|
+
const { connectionStatusChanged, knockResponseReceived } = roomConnectionSlice.actions;
|
|
2682
|
+
const { roomRejoined } = roomConnectionSlice.actions;
|
|
2683
|
+
const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
|
|
2684
|
+
const state = getState();
|
|
2685
|
+
const socket = selectSignalConnectionRaw(state).socket;
|
|
2686
|
+
const roomName = selectAppRoomName(state);
|
|
2687
|
+
const roomKey = selectRoomKey(state);
|
|
2688
|
+
const displayName = selectAppDisplayName(state);
|
|
2689
|
+
const isDialIn = selectAppIsDialIn(state);
|
|
2690
|
+
const isAudioRecorder = selectAppIsAudioRecorder(state);
|
|
2691
|
+
const userAgent = selectAppUserAgent(state);
|
|
2692
|
+
const externalId = selectAppExternalId(state);
|
|
2693
|
+
const organizationId = selectOrganizationId(state);
|
|
2694
|
+
const connectionStatus = selectRoomConnectionStatus(state);
|
|
2695
|
+
const clientClaim = selectLocalParticipantClientClaim(state);
|
|
2696
|
+
if (connectionStatus !== "room_locked") {
|
|
2697
|
+
console.warn("Room is not locked, knock aborted");
|
|
2698
|
+
return;
|
|
2699
|
+
}
|
|
2700
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
|
|
2701
|
+
isAudioEnabled: true,
|
|
2702
|
+
isVideoEnabled: true,
|
|
2703
|
+
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
|
|
2704
|
+
isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
2705
|
+
roomKey,
|
|
2706
|
+
roomName,
|
|
2707
|
+
userAgent,
|
|
2708
|
+
externalId }, (clientClaim && { clientClaim })));
|
|
2709
|
+
dispatch(connectionStatusChanged("knocking"));
|
|
2710
|
+
});
|
|
2711
|
+
const doCancelKnock = createAppThunk(() => (dispatch, getState) => {
|
|
2712
|
+
const state = getState();
|
|
2713
|
+
const socket = selectSignalConnectionRaw(state).socket;
|
|
2714
|
+
const connectionStatus = selectRoomConnectionStatus(state);
|
|
2715
|
+
if (connectionStatus !== "knocking") {
|
|
2716
|
+
console.warn("Not knocking, cancel knock aborted");
|
|
2717
|
+
return;
|
|
2718
|
+
}
|
|
2719
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("cancel_room_knock");
|
|
2720
|
+
dispatch(connectionStatusChanged("ready"));
|
|
2721
|
+
});
|
|
2722
|
+
const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
|
|
2723
|
+
const state = getState();
|
|
2724
|
+
const socket = selectSignalConnectionRaw(state).socket;
|
|
2725
|
+
const roomName = selectAppRoomName(state);
|
|
2726
|
+
const roomKey = selectRoomKey(state);
|
|
2727
|
+
const assistantKey = selectAssistantKey(state);
|
|
2728
|
+
const displayName = selectAppDisplayName(state);
|
|
2729
|
+
const userAgent = selectAppUserAgent(state);
|
|
2730
|
+
const externalId = selectAppExternalId(state);
|
|
2731
|
+
const isDialIn = selectAppIsDialIn(state);
|
|
2732
|
+
const isAudioRecorder = selectAppIsAudioRecorder(state);
|
|
2733
|
+
const organizationId = selectOrganizationId(state);
|
|
2734
|
+
const isCameraEnabled = selectIsCameraEnabled(getState());
|
|
2735
|
+
const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
|
|
2736
|
+
const clientClaim = selectLocalParticipantClientClaim(getState());
|
|
2737
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
|
|
2738
|
+
isAudioEnabled: isMicrophoneEnabled,
|
|
2739
|
+
isVideoEnabled: isCameraEnabled,
|
|
2740
|
+
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
|
|
2741
|
+
isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
2742
|
+
roomKey,
|
|
2743
|
+
assistantKey,
|
|
2744
|
+
roomName,
|
|
2745
|
+
userAgent,
|
|
2746
|
+
externalId }, (clientClaim && { clientClaim })));
|
|
2747
|
+
dispatch(connectionStatusChanged("connecting"));
|
|
2748
|
+
});
|
|
2749
|
+
const selectShouldConnectRoom = createSelector([
|
|
2750
|
+
selectAppIsActive,
|
|
2751
|
+
selectOrganizationId,
|
|
2752
|
+
selectRoomConnectionStatus,
|
|
2753
|
+
selectSignalConnectionDeviceIdentified,
|
|
2754
|
+
selectLocalMediaStatus,
|
|
2755
|
+
selectRoomConnectionError,
|
|
2756
|
+
], (appIsActive, hasOrganizationIdFetched, roomConnectionStatus, signalConnectionDeviceIdentified, localMediaStatus, roomConnectionError) => {
|
|
2757
|
+
if (appIsActive &&
|
|
2758
|
+
localMediaStatus === "started" &&
|
|
2759
|
+
signalConnectionDeviceIdentified &&
|
|
2760
|
+
!!hasOrganizationIdFetched &&
|
|
2761
|
+
["ready", "reconnecting", "disconnected"].includes(roomConnectionStatus) &&
|
|
2762
|
+
!roomConnectionError) {
|
|
2763
|
+
return true;
|
|
2764
|
+
}
|
|
2765
|
+
return false;
|
|
2766
|
+
});
|
|
2767
|
+
createReactor([selectShouldConnectRoom], ({ dispatch }, shouldConnectRoom) => {
|
|
2768
|
+
if (shouldConnectRoom) {
|
|
2769
|
+
dispatch(doConnectRoom());
|
|
2770
|
+
}
|
|
2771
|
+
});
|
|
2772
|
+
startAppListening({
|
|
2773
|
+
actionCreator: signalEvents.roomJoined,
|
|
2774
|
+
effect: ({ payload }, { dispatch, getOriginalState }) => {
|
|
2775
|
+
if ("error" in payload) {
|
|
2776
|
+
return;
|
|
2777
|
+
}
|
|
2778
|
+
const originalState = getOriginalState();
|
|
2779
|
+
if (!selectRoomConnectionIsRejoining(originalState)) {
|
|
2780
|
+
return;
|
|
2781
|
+
}
|
|
2782
|
+
dispatch(roomRejoined({ selfId: payload.selfId, previousSelfId: selectSelfId(originalState) }));
|
|
2783
|
+
},
|
|
2784
|
+
});
|
|
2785
|
+
startAppListening({
|
|
2786
|
+
actionCreator: signalEvents.knockHandled,
|
|
2787
|
+
effect: ({ payload }, { dispatch, getState }) => {
|
|
2788
|
+
var _a, _b;
|
|
2789
|
+
const { clientId, resolution } = payload;
|
|
2790
|
+
const state = getState();
|
|
2791
|
+
const selfId = selectSelfId(state);
|
|
2792
|
+
if (clientId !== selfId) {
|
|
2793
|
+
return;
|
|
2794
|
+
}
|
|
2795
|
+
if (resolution === "accepted") {
|
|
2796
|
+
dispatch(setRoomKey(payload.metadata.roomKey));
|
|
2797
|
+
dispatch(doConnectRoom());
|
|
2798
|
+
}
|
|
2799
|
+
else if (resolution === "on_hold") {
|
|
2800
|
+
dispatch(knockResponseReceived((_a = payload.knockResponse) !== null && _a !== void 0 ? _a : null));
|
|
2801
|
+
dispatch(connectionStatusChanged("knock_on_hold"));
|
|
2802
|
+
}
|
|
2803
|
+
else if (resolution === "rejected") {
|
|
2804
|
+
dispatch(knockResponseReceived((_b = payload.knockResponse) !== null && _b !== void 0 ? _b : null));
|
|
2805
|
+
dispatch(connectionStatusChanged("knock_rejected"));
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2808
|
+
});
|
|
2809
|
+
startAppListening({
|
|
2810
|
+
actionCreator: signalEvents.clientKicked,
|
|
2811
|
+
effect: (_, { dispatch }) => {
|
|
2812
|
+
dispatch(doAppStop());
|
|
2813
|
+
},
|
|
2814
|
+
});
|
|
2815
|
+
startAppListening({
|
|
2816
|
+
actionCreator: doAppStop,
|
|
2817
|
+
effect: (_, { dispatch, getState }) => {
|
|
2818
|
+
const state = getState();
|
|
2819
|
+
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
2820
|
+
if (roomConnectionStatus === "connected") {
|
|
2821
|
+
const socket = selectSignalConnectionRaw(state).socket;
|
|
2822
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("leave_room");
|
|
2823
|
+
dispatch(connectionStatusChanged("leaving"));
|
|
2824
|
+
}
|
|
2825
|
+
else {
|
|
2826
|
+
dispatch(doSignalDisconnect());
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
});
|
|
2559
2830
|
|
|
2560
2831
|
const emitter = new EventEmitter();
|
|
2561
2832
|
function createNotificationEvent(payload) {
|
|
@@ -2734,11 +3005,30 @@ createReactor([selectSignalStatus], ({ dispatch, getState }, signalStatus) => {
|
|
|
2734
3005
|
}
|
|
2735
3006
|
else if (signalStatus === "connected") {
|
|
2736
3007
|
dispatch(doSetNotification(createNotificationEvent({
|
|
2737
|
-
type: "signalOk",
|
|
2738
|
-
message: `Network connection available`,
|
|
3008
|
+
type: "signalOk",
|
|
3009
|
+
message: `Network connection available`,
|
|
3010
|
+
props: {},
|
|
3011
|
+
})));
|
|
3012
|
+
}
|
|
3013
|
+
});
|
|
3014
|
+
createReactor([selectRoomConnectionIsRejoining], ({ dispatch }, isRejoining) => {
|
|
3015
|
+
if (isRejoining) {
|
|
3016
|
+
dispatch(doSetNotification(createNotificationEvent({
|
|
3017
|
+
type: "reconnecting",
|
|
3018
|
+
message: `Reconnecting to the room...`,
|
|
3019
|
+
props: {},
|
|
3020
|
+
})));
|
|
3021
|
+
}
|
|
3022
|
+
});
|
|
3023
|
+
startAppListening({
|
|
3024
|
+
actionCreator: roomRejoined,
|
|
3025
|
+
effect: (_, { dispatch }) => {
|
|
3026
|
+
dispatch(doSetNotification(createNotificationEvent({
|
|
3027
|
+
type: "reconnected",
|
|
3028
|
+
message: `Reconnected to the room`,
|
|
2739
3029
|
props: {},
|
|
2740
3030
|
})));
|
|
2741
|
-
}
|
|
3031
|
+
},
|
|
2742
3032
|
});
|
|
2743
3033
|
startAppListening({
|
|
2744
3034
|
actionCreator: signalEvents.clientUnableToJoin,
|
|
@@ -4446,254 +4736,6 @@ createReactor([selectBreakoutAssignments, selectDeviceId, selectLocalParticipant
|
|
|
4446
4736
|
}
|
|
4447
4737
|
});
|
|
4448
4738
|
|
|
4449
|
-
const organizationSliceInitialState = {
|
|
4450
|
-
data: null,
|
|
4451
|
-
isFetching: false,
|
|
4452
|
-
error: null,
|
|
4453
|
-
};
|
|
4454
|
-
const organizationSlice = createSlice({
|
|
4455
|
-
name: "organization",
|
|
4456
|
-
initialState: organizationSliceInitialState,
|
|
4457
|
-
reducers: {},
|
|
4458
|
-
extraReducers: (builder) => {
|
|
4459
|
-
builder.addCase(doOrganizationFetch.pending, (state) => {
|
|
4460
|
-
return Object.assign(Object.assign({}, state), { isFetching: true });
|
|
4461
|
-
});
|
|
4462
|
-
builder.addCase(doOrganizationFetch.fulfilled, (state, action) => {
|
|
4463
|
-
if (!action.payload)
|
|
4464
|
-
return Object.assign(Object.assign({}, state), { isFetching: true });
|
|
4465
|
-
return Object.assign(Object.assign({}, state), { isFetching: false, data: action.payload });
|
|
4466
|
-
});
|
|
4467
|
-
builder.addCase(doOrganizationFetch.rejected, (state) => {
|
|
4468
|
-
return Object.assign(Object.assign({}, state), { isFetching: false, error: true });
|
|
4469
|
-
});
|
|
4470
|
-
},
|
|
4471
|
-
});
|
|
4472
|
-
const doOrganizationFetch = createAppAsyncThunk("organization/doOrganizationFetch", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { extra, getState }) {
|
|
4473
|
-
try {
|
|
4474
|
-
const roomUrl = selectAppRoomUrl(getState());
|
|
4475
|
-
const organization = yield extra.services.fetchOrganizationFromRoomUrl(roomUrl || "");
|
|
4476
|
-
if (!organization) {
|
|
4477
|
-
throw new Error("Invalid room url");
|
|
4478
|
-
}
|
|
4479
|
-
return organization;
|
|
4480
|
-
}
|
|
4481
|
-
catch (error) {
|
|
4482
|
-
console.error(error);
|
|
4483
|
-
}
|
|
4484
|
-
}));
|
|
4485
|
-
const selectOrganizationRaw = (state) => state.organization;
|
|
4486
|
-
const selectOrganizationId = (state) => { var _a; return (_a = state.organization.data) === null || _a === void 0 ? void 0 : _a.organizationId; };
|
|
4487
|
-
const selectOrganizationPreferences = (state) => { var _a; return (_a = state.organization.data) === null || _a === void 0 ? void 0 : _a.preferences; };
|
|
4488
|
-
const selectShouldFetchOrganization = createSelector(selectAppIsActive, selectOrganizationRaw, selectDeviceCredentialsRaw, (appIsActive, organization, deviceCredentials) => {
|
|
4489
|
-
if (appIsActive &&
|
|
4490
|
-
!organization.data &&
|
|
4491
|
-
!organization.isFetching &&
|
|
4492
|
-
!organization.error &&
|
|
4493
|
-
!deviceCredentials.isFetching) {
|
|
4494
|
-
return true;
|
|
4495
|
-
}
|
|
4496
|
-
return false;
|
|
4497
|
-
});
|
|
4498
|
-
createReactor([selectShouldFetchOrganization], ({ dispatch }, shouldFetchOrganization) => {
|
|
4499
|
-
if (shouldFetchOrganization) {
|
|
4500
|
-
dispatch(doOrganizationFetch());
|
|
4501
|
-
}
|
|
4502
|
-
});
|
|
4503
|
-
|
|
4504
|
-
const roomConnectionSliceInitialState = {
|
|
4505
|
-
session: null,
|
|
4506
|
-
status: "ready",
|
|
4507
|
-
error: null,
|
|
4508
|
-
knockResponse: null,
|
|
4509
|
-
};
|
|
4510
|
-
const roomConnectionSlice = createSlice({
|
|
4511
|
-
name: "roomConnection",
|
|
4512
|
-
initialState: roomConnectionSliceInitialState,
|
|
4513
|
-
reducers: {
|
|
4514
|
-
connectionStatusChanged: (state, action) => {
|
|
4515
|
-
return Object.assign(Object.assign({}, state), { status: action.payload });
|
|
4516
|
-
},
|
|
4517
|
-
knockResponseReceived: (state, action) => {
|
|
4518
|
-
return Object.assign(Object.assign({}, state), { knockResponse: action.payload });
|
|
4519
|
-
},
|
|
4520
|
-
},
|
|
4521
|
-
extraReducers: (builder) => {
|
|
4522
|
-
builder.addCase(signalEvents.roomJoined, (state, action) => {
|
|
4523
|
-
var _a;
|
|
4524
|
-
if ("error" in action.payload) {
|
|
4525
|
-
if (action.payload.error === "room_locked" && action.payload.isLocked) {
|
|
4526
|
-
return Object.assign(Object.assign({}, state), { status: "room_locked" });
|
|
4527
|
-
}
|
|
4528
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected", error: action.payload.error });
|
|
4529
|
-
}
|
|
4530
|
-
const { room } = action.payload;
|
|
4531
|
-
return Object.assign(Object.assign({}, state), { status: "connected", session: (_a = room.session) !== null && _a !== void 0 ? _a : null });
|
|
4532
|
-
});
|
|
4533
|
-
builder.addCase(signalEvents.disconnect, (state) => {
|
|
4534
|
-
if (["kicked", "left"].includes(state.status)) {
|
|
4535
|
-
return Object.assign({}, state);
|
|
4536
|
-
}
|
|
4537
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected" });
|
|
4538
|
-
});
|
|
4539
|
-
builder.addCase(signalEvents.newClient, (state, action) => {
|
|
4540
|
-
var _a, _b;
|
|
4541
|
-
return Object.assign(Object.assign({}, state), { session: (_b = (_a = action.payload.room) === null || _a === void 0 ? void 0 : _a.session) !== null && _b !== void 0 ? _b : null });
|
|
4542
|
-
});
|
|
4543
|
-
builder.addCase(signalEvents.roomSessionEnded, (state, action) => {
|
|
4544
|
-
var _a;
|
|
4545
|
-
if (((_a = state.session) === null || _a === void 0 ? void 0 : _a.id) !== action.payload.roomSessionId) {
|
|
4546
|
-
return state;
|
|
4547
|
-
}
|
|
4548
|
-
return Object.assign(Object.assign({}, state), { session: null });
|
|
4549
|
-
});
|
|
4550
|
-
builder.addCase(signalEvents.clientKicked, (state) => {
|
|
4551
|
-
return Object.assign(Object.assign({}, state), { status: "kicked" });
|
|
4552
|
-
});
|
|
4553
|
-
builder.addCase(signalEvents.roomLeft, (state) => {
|
|
4554
|
-
return Object.assign(Object.assign({}, state), { status: "left" });
|
|
4555
|
-
});
|
|
4556
|
-
builder.addCase(socketReconnecting, (state) => {
|
|
4557
|
-
return Object.assign(Object.assign({}, state), { status: "reconnecting" });
|
|
4558
|
-
});
|
|
4559
|
-
},
|
|
4560
|
-
});
|
|
4561
|
-
const { connectionStatusChanged, knockResponseReceived } = roomConnectionSlice.actions;
|
|
4562
|
-
const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
|
|
4563
|
-
const state = getState();
|
|
4564
|
-
const socket = selectSignalConnectionRaw(state).socket;
|
|
4565
|
-
const roomName = selectAppRoomName(state);
|
|
4566
|
-
const roomKey = selectRoomKey(state);
|
|
4567
|
-
const displayName = selectAppDisplayName(state);
|
|
4568
|
-
const isDialIn = selectAppIsDialIn(state);
|
|
4569
|
-
const isAudioRecorder = selectAppIsAudioRecorder(state);
|
|
4570
|
-
const userAgent = selectAppUserAgent(state);
|
|
4571
|
-
const externalId = selectAppExternalId(state);
|
|
4572
|
-
const organizationId = selectOrganizationId(state);
|
|
4573
|
-
const connectionStatus = selectRoomConnectionStatus(state);
|
|
4574
|
-
const clientClaim = selectLocalParticipantClientClaim(state);
|
|
4575
|
-
if (connectionStatus !== "room_locked") {
|
|
4576
|
-
console.warn("Room is not locked, knock aborted");
|
|
4577
|
-
return;
|
|
4578
|
-
}
|
|
4579
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
|
|
4580
|
-
isAudioEnabled: true,
|
|
4581
|
-
isVideoEnabled: true,
|
|
4582
|
-
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
|
|
4583
|
-
isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
4584
|
-
roomKey,
|
|
4585
|
-
roomName,
|
|
4586
|
-
userAgent,
|
|
4587
|
-
externalId }, (clientClaim && { clientClaim })));
|
|
4588
|
-
dispatch(connectionStatusChanged("knocking"));
|
|
4589
|
-
});
|
|
4590
|
-
const doCancelKnock = createAppThunk(() => (dispatch, getState) => {
|
|
4591
|
-
const state = getState();
|
|
4592
|
-
const socket = selectSignalConnectionRaw(state).socket;
|
|
4593
|
-
const connectionStatus = selectRoomConnectionStatus(state);
|
|
4594
|
-
if (connectionStatus !== "knocking") {
|
|
4595
|
-
console.warn("Not knocking, cancel knock aborted");
|
|
4596
|
-
return;
|
|
4597
|
-
}
|
|
4598
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("cancel_room_knock");
|
|
4599
|
-
dispatch(connectionStatusChanged("ready"));
|
|
4600
|
-
});
|
|
4601
|
-
const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
|
|
4602
|
-
const state = getState();
|
|
4603
|
-
const socket = selectSignalConnectionRaw(state).socket;
|
|
4604
|
-
const roomName = selectAppRoomName(state);
|
|
4605
|
-
const roomKey = selectRoomKey(state);
|
|
4606
|
-
const assistantKey = selectAssistantKey(state);
|
|
4607
|
-
const displayName = selectAppDisplayName(state);
|
|
4608
|
-
const userAgent = selectAppUserAgent(state);
|
|
4609
|
-
const externalId = selectAppExternalId(state);
|
|
4610
|
-
const isDialIn = selectAppIsDialIn(state);
|
|
4611
|
-
const isAudioRecorder = selectAppIsAudioRecorder(state);
|
|
4612
|
-
const organizationId = selectOrganizationId(state);
|
|
4613
|
-
const isCameraEnabled = selectIsCameraEnabled(getState());
|
|
4614
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
|
|
4615
|
-
const clientClaim = selectLocalParticipantClientClaim(getState());
|
|
4616
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
|
|
4617
|
-
isAudioEnabled: isMicrophoneEnabled,
|
|
4618
|
-
isVideoEnabled: isCameraEnabled,
|
|
4619
|
-
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
|
|
4620
|
-
isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
4621
|
-
roomKey,
|
|
4622
|
-
assistantKey,
|
|
4623
|
-
roomName,
|
|
4624
|
-
userAgent,
|
|
4625
|
-
externalId }, (clientClaim && { clientClaim })));
|
|
4626
|
-
dispatch(connectionStatusChanged("connecting"));
|
|
4627
|
-
});
|
|
4628
|
-
const selectShouldConnectRoom = createSelector([
|
|
4629
|
-
selectAppIsActive,
|
|
4630
|
-
selectOrganizationId,
|
|
4631
|
-
selectRoomConnectionStatus,
|
|
4632
|
-
selectSignalConnectionDeviceIdentified,
|
|
4633
|
-
selectLocalMediaStatus,
|
|
4634
|
-
selectRoomConnectionError,
|
|
4635
|
-
], (appIsActive, hasOrganizationIdFetched, roomConnectionStatus, signalConnectionDeviceIdentified, localMediaStatus, roomConnectionError) => {
|
|
4636
|
-
if (appIsActive &&
|
|
4637
|
-
localMediaStatus === "started" &&
|
|
4638
|
-
signalConnectionDeviceIdentified &&
|
|
4639
|
-
!!hasOrganizationIdFetched &&
|
|
4640
|
-
["ready", "reconnecting", "disconnected"].includes(roomConnectionStatus) &&
|
|
4641
|
-
!roomConnectionError) {
|
|
4642
|
-
return true;
|
|
4643
|
-
}
|
|
4644
|
-
return false;
|
|
4645
|
-
});
|
|
4646
|
-
createReactor([selectShouldConnectRoom], ({ dispatch }, shouldConnectRoom) => {
|
|
4647
|
-
if (shouldConnectRoom) {
|
|
4648
|
-
dispatch(doConnectRoom());
|
|
4649
|
-
}
|
|
4650
|
-
});
|
|
4651
|
-
startAppListening({
|
|
4652
|
-
actionCreator: signalEvents.knockHandled,
|
|
4653
|
-
effect: ({ payload }, { dispatch, getState }) => {
|
|
4654
|
-
var _a, _b;
|
|
4655
|
-
const { clientId, resolution } = payload;
|
|
4656
|
-
const state = getState();
|
|
4657
|
-
const selfId = selectSelfId(state);
|
|
4658
|
-
if (clientId !== selfId) {
|
|
4659
|
-
return;
|
|
4660
|
-
}
|
|
4661
|
-
if (resolution === "accepted") {
|
|
4662
|
-
dispatch(setRoomKey(payload.metadata.roomKey));
|
|
4663
|
-
dispatch(doConnectRoom());
|
|
4664
|
-
}
|
|
4665
|
-
else if (resolution === "on_hold") {
|
|
4666
|
-
dispatch(knockResponseReceived((_a = payload.knockResponse) !== null && _a !== void 0 ? _a : null));
|
|
4667
|
-
dispatch(connectionStatusChanged("knock_on_hold"));
|
|
4668
|
-
}
|
|
4669
|
-
else if (resolution === "rejected") {
|
|
4670
|
-
dispatch(knockResponseReceived((_b = payload.knockResponse) !== null && _b !== void 0 ? _b : null));
|
|
4671
|
-
dispatch(connectionStatusChanged("knock_rejected"));
|
|
4672
|
-
}
|
|
4673
|
-
},
|
|
4674
|
-
});
|
|
4675
|
-
startAppListening({
|
|
4676
|
-
actionCreator: signalEvents.clientKicked,
|
|
4677
|
-
effect: (_, { dispatch }) => {
|
|
4678
|
-
dispatch(doAppStop());
|
|
4679
|
-
},
|
|
4680
|
-
});
|
|
4681
|
-
startAppListening({
|
|
4682
|
-
actionCreator: doAppStop,
|
|
4683
|
-
effect: (_, { dispatch, getState }) => {
|
|
4684
|
-
const state = getState();
|
|
4685
|
-
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
4686
|
-
if (roomConnectionStatus === "connected") {
|
|
4687
|
-
const socket = selectSignalConnectionRaw(state).socket;
|
|
4688
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("leave_room");
|
|
4689
|
-
dispatch(connectionStatusChanged("leaving"));
|
|
4690
|
-
}
|
|
4691
|
-
else {
|
|
4692
|
-
doSignalDisconnect();
|
|
4693
|
-
}
|
|
4694
|
-
},
|
|
4695
|
-
});
|
|
4696
|
-
|
|
4697
4739
|
function isCustomElementName(value) {
|
|
4698
4740
|
return typeof value === "string" && value === value.toLowerCase() && value.includes("-");
|
|
4699
4741
|
}
|
|
@@ -6075,6 +6117,7 @@ const SPOTLIGHT_PARTICIPANT_ADDED = "spotlight:participant-added";
|
|
|
6075
6117
|
const SPOTLIGHT_PARTICIPANT_REMOVED = "spotlight:participant-removed";
|
|
6076
6118
|
const ROOM_JOINED = "room:joined";
|
|
6077
6119
|
const ROOM_JOINED_ERROR = "room:joined:error";
|
|
6120
|
+
const ROOM_REJOINED = "room:rejoined";
|
|
6078
6121
|
|
|
6079
6122
|
const selectRoomConnectionState = createSelector(selectChatMessages, selectFileUploads, selectCloudRecordingRaw, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutActive, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutAssignments, selectBreakoutEnforceAssignment, selectBreakoutTimerSetting, selectBreakoutTimerDuration, selectBreakoutAutoMoveToGroup, selectBreakoutMoveToGroupGracePeriod, selectBreakoutAutoMoveToMain, selectBreakoutMoveToMainGracePeriod, selectBreakoutStartedAt, selectBreakoutEndTime, selectBreakoutMoveToGroupAt, selectBreakoutMoveToMainAt, selectBreakoutIsAvailable, selectBreakoutError, selectAllClientViewsInCurrentGroup, selectLiveCaptionsRaw, selectLiveTranscriptionRaw, selectLocalParticipantRaw, selectLocalMediaStream, selectLocalScreenshareRaw, selectRemoteParticipants, selectScreenshares, selectRoomConnectionStatus, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectStreamingRaw, selectWaitingParticipants, selectNotificationsEmitter, selectSpotlightedClientViews, selectIsCameraEnabled, selectIsMicrophoneEnabled, selectRoomIntegrationsRaw, selectEnabledRoomIntegrations, selectEmbeddableRoomIntegrations, selectRunningRoomIntegrations, selectIsAudioOnlyModeEnabled, (chatMessages, fileUploads, cloudRecording, breakoutCurrentGroup, breakoutCurrentId, breakoutActive, breakoutGroupedParticipants, breakoutGroups, breakoutAssignments, breakoutEnforceAssignment, breakoutTimerSetting, breakoutTimerDuration, breakoutAutoMoveToGroup, breakoutMoveToGroupGracePeriod, breakoutAutoMoveToMain, breakoutMoveToMainGracePeriod, breakoutStartedAt, breakoutEndTime, breakoutMoveToGroupAt, breakoutMoveToMainAt, breakoutIsAvailable, breakoutError, clientViewsInCurrentGroup, liveCaptions, liveTranscription, localParticipant, localMediaStream, localScreenshare, remoteParticipants, screenshares, connectionStatus, connectionError, knockResponse, streaming, waitingParticipants, notificationsEmitter, spotlightedClientViews, isCameraEnabled, isMicrophoneEnabled, roomIntegrationsRaw, enabledRoomIntegrations, embeddableRoomIntegrations, runningRoomIntegrations, isAudioOnlyModeEnabled) => {
|
|
6080
6123
|
const broadcastingParticipants = breakoutActive && breakoutCurrentId
|
|
@@ -6315,6 +6358,17 @@ class RoomConnectionClient extends BaseClient {
|
|
|
6315
6358
|
});
|
|
6316
6359
|
},
|
|
6317
6360
|
});
|
|
6361
|
+
startAppListening({
|
|
6362
|
+
actionCreator: roomRejoined,
|
|
6363
|
+
effect: ({ payload }) => {
|
|
6364
|
+
const { selfId, previousSelfId } = payload;
|
|
6365
|
+
this.emit(ROOM_REJOINED, {
|
|
6366
|
+
selfId,
|
|
6367
|
+
previousSelfId,
|
|
6368
|
+
selfIdChanged: selfId !== previousSelfId,
|
|
6369
|
+
});
|
|
6370
|
+
},
|
|
6371
|
+
});
|
|
6318
6372
|
startAppListening({
|
|
6319
6373
|
actionCreator: signalEvents.chatMessage,
|
|
6320
6374
|
effect: ({ payload }) => {
|
|
@@ -6720,4 +6774,4 @@ class WherebyClient {
|
|
|
6720
6774
|
}
|
|
6721
6775
|
}
|
|
6722
6776
|
|
|
6723
|
-
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, DEFAULT_BREAKOUT_TIMER_DURATION, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
6777
|
+
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, DEFAULT_BREAKOUT_TIMER_DURATION, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|