@whereby.com/core 1.0.1 → 1.1.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 +47 -32
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +47 -32
- package/dist/legacy-esm.js +47 -32
- package/dist/redux/index.cjs +47 -32
- package/dist/redux/index.d.cts +7 -4
- package/dist/redux/index.d.mts +7 -4
- package/dist/redux/index.d.ts +7 -4
- package/dist/redux/index.js +47 -33
- package/dist/redux/index.mjs +47 -33
- package/package.json +4 -4
package/dist/redux/index.js
CHANGED
|
@@ -71,7 +71,7 @@ const createReactor = (selectors, callback) => {
|
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
const coreVersion = "1.0
|
|
74
|
+
const coreVersion = "1.1.0";
|
|
75
75
|
|
|
76
76
|
const initialState = {
|
|
77
77
|
isNodeSdk: false,
|
|
@@ -1079,6 +1079,7 @@ const selectChatRaw = (state) => state.chat;
|
|
|
1079
1079
|
const selectChatMessages = (state) => state.chat.chatMessages;
|
|
1080
1080
|
|
|
1081
1081
|
const initialCloudRecordingState = {
|
|
1082
|
+
isInitiator: false,
|
|
1082
1083
|
isRecording: false,
|
|
1083
1084
|
error: null,
|
|
1084
1085
|
startedAt: undefined,
|
|
@@ -1088,19 +1089,19 @@ const cloudRecordingSlice = createSlice({
|
|
|
1088
1089
|
initialState: initialCloudRecordingState,
|
|
1089
1090
|
reducers: {
|
|
1090
1091
|
recordingRequestStarted: (state) => {
|
|
1091
|
-
return Object.assign(Object.assign({}, state), { status: "requested" });
|
|
1092
|
+
return Object.assign(Object.assign({}, state), { isInitiator: true, status: "requested" });
|
|
1092
1093
|
},
|
|
1093
1094
|
},
|
|
1094
1095
|
extraReducers: (builder) => {
|
|
1095
1096
|
builder.addCase(signalEvents.cloudRecordingStopped, (state) => {
|
|
1096
|
-
return Object.assign(Object.assign({}, state), { isRecording: false, status: undefined });
|
|
1097
|
+
return Object.assign(Object.assign({}, state), { isInitiator: false, isRecording: false, status: undefined });
|
|
1097
1098
|
});
|
|
1098
1099
|
builder.addCase(signalEvents.cloudRecordingStarted, (state, action) => {
|
|
1099
1100
|
const { payload } = action;
|
|
1100
1101
|
if (!payload.error) {
|
|
1101
1102
|
return state;
|
|
1102
1103
|
}
|
|
1103
|
-
return Object.assign(Object.assign({}, state), { isRecording: false, status: "error", error: payload.error });
|
|
1104
|
+
return Object.assign(Object.assign({}, state), { isInitiator: false, isRecording: false, status: "error", error: payload.error });
|
|
1104
1105
|
});
|
|
1105
1106
|
builder.addCase(signalEvents.newClient, (state, { payload }) => {
|
|
1106
1107
|
var _a;
|
|
@@ -1137,6 +1138,7 @@ const selectCloudRecordingStatus = (state) => state.cloudRecording.status;
|
|
|
1137
1138
|
const selectCloudRecordingStartedAt = (state) => state.cloudRecording.startedAt;
|
|
1138
1139
|
const selectCloudRecordingError = (state) => state.cloudRecording.error;
|
|
1139
1140
|
const selectIsCloudRecording = (state) => state.cloudRecording.isRecording;
|
|
1141
|
+
const selectCloudRecordingIsInitiator = (state) => state.cloudRecording.isInitiator;
|
|
1140
1142
|
|
|
1141
1143
|
const selectRoomConnectionRaw = (state) => state.roomConnection;
|
|
1142
1144
|
const selectRoomConnectionSession = (state) => state.roomConnection.session;
|
|
@@ -2694,20 +2696,23 @@ startAppListening({
|
|
|
2694
2696
|
},
|
|
2695
2697
|
});
|
|
2696
2698
|
|
|
2699
|
+
function createRtcAnalyticsCustomEvent(parameters) {
|
|
2700
|
+
return parameters;
|
|
2701
|
+
}
|
|
2697
2702
|
const rtcAnalyticsCustomEvents = {
|
|
2698
|
-
audioEnabled: {
|
|
2703
|
+
audioEnabled: createRtcAnalyticsCustomEvent({
|
|
2699
2704
|
actions: [doEnableAudio.fulfilled],
|
|
2700
2705
|
rtcEventName: "audioEnabled",
|
|
2701
2706
|
getValue: (state) => selectIsMicrophoneEnabled(state),
|
|
2702
2707
|
getOutput: (value) => ({ enabled: value }),
|
|
2703
|
-
},
|
|
2704
|
-
videoEnabled: {
|
|
2708
|
+
}),
|
|
2709
|
+
videoEnabled: createRtcAnalyticsCustomEvent({
|
|
2705
2710
|
actions: [doEnableVideo.fulfilled],
|
|
2706
2711
|
rtcEventName: "videoEnabled",
|
|
2707
2712
|
getValue: (state) => selectIsCameraEnabled(state),
|
|
2708
2713
|
getOutput: (value) => ({ enabled: value }),
|
|
2709
|
-
},
|
|
2710
|
-
localStream: {
|
|
2714
|
+
}),
|
|
2715
|
+
localStream: createRtcAnalyticsCustomEvent({
|
|
2711
2716
|
actions: [doSetDevice.fulfilled],
|
|
2712
2717
|
rtcEventName: "localStream",
|
|
2713
2718
|
getValue: (state) => {
|
|
@@ -2715,8 +2720,8 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2715
2720
|
return (_a = selectLocalMediaStream(state)) === null || _a === void 0 ? void 0 : _a.getTracks().map((track) => ({ id: track.id, kind: track.kind, label: track.label }));
|
|
2716
2721
|
},
|
|
2717
2722
|
getOutput: (value) => ({ stream: value }),
|
|
2718
|
-
},
|
|
2719
|
-
localScreenshareStream: {
|
|
2723
|
+
}),
|
|
2724
|
+
localScreenshareStream: createRtcAnalyticsCustomEvent({
|
|
2720
2725
|
actions: [doStartScreenshare.fulfilled],
|
|
2721
2726
|
rtcEventName: "localScreenshareStream",
|
|
2722
2727
|
getValue: (state) => {
|
|
@@ -2724,14 +2729,14 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2724
2729
|
return (_a = selectLocalScreenshareStream(state)) === null || _a === void 0 ? void 0 : _a.getTracks().map((track) => ({ id: track.id, kind: track.kind, label: track.label }));
|
|
2725
2730
|
},
|
|
2726
2731
|
getOutput: (value) => ({ tracks: value }),
|
|
2727
|
-
},
|
|
2728
|
-
localScreenshareStreamStopped: {
|
|
2732
|
+
}),
|
|
2733
|
+
localScreenshareStreamStopped: createRtcAnalyticsCustomEvent({
|
|
2729
2734
|
actions: [stopScreenshare],
|
|
2730
2735
|
rtcEventName: "localScreenshareStream",
|
|
2731
2736
|
getValue: () => () => null,
|
|
2732
2737
|
getOutput: () => ({}),
|
|
2733
|
-
},
|
|
2734
|
-
displayName: {
|
|
2738
|
+
}),
|
|
2739
|
+
displayName: createRtcAnalyticsCustomEvent({
|
|
2735
2740
|
actions: [setDisplayName],
|
|
2736
2741
|
rtcEventName: "displayName",
|
|
2737
2742
|
getValue: (state) => {
|
|
@@ -2740,38 +2745,47 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2740
2745
|
return (prefs === null || prefs === void 0 ? void 0 : prefs.hideInsightsDisplayNames) ? "[[redacted]]" : displayName;
|
|
2741
2746
|
},
|
|
2742
2747
|
getOutput: (value) => ({ displayName: value }),
|
|
2743
|
-
},
|
|
2744
|
-
clientId: {
|
|
2748
|
+
}),
|
|
2749
|
+
clientId: createRtcAnalyticsCustomEvent({
|
|
2745
2750
|
actions: null,
|
|
2746
2751
|
rtcEventName: "clientId",
|
|
2747
2752
|
getValue: (state) => selectSelfId(state),
|
|
2748
2753
|
getOutput: (value) => ({ clientId: value }),
|
|
2749
|
-
},
|
|
2750
|
-
deviceId: {
|
|
2754
|
+
}),
|
|
2755
|
+
deviceId: createRtcAnalyticsCustomEvent({
|
|
2751
2756
|
actions: null,
|
|
2752
2757
|
rtcEventName: "deviceId",
|
|
2753
2758
|
getValue: (state) => selectDeviceId(state),
|
|
2754
2759
|
getOutput: (value) => ({ deviceId: value }),
|
|
2755
|
-
},
|
|
2756
|
-
externalId: {
|
|
2760
|
+
}),
|
|
2761
|
+
externalId: createRtcAnalyticsCustomEvent({
|
|
2757
2762
|
actions: null,
|
|
2758
2763
|
rtcEventName: "externalId",
|
|
2759
2764
|
getValue: (state) => selectAppExternalId(state),
|
|
2760
2765
|
getOutput: (value) => ({ externalId: value }),
|
|
2761
|
-
},
|
|
2762
|
-
organizationId: {
|
|
2766
|
+
}),
|
|
2767
|
+
organizationId: createRtcAnalyticsCustomEvent({
|
|
2763
2768
|
actions: null,
|
|
2764
2769
|
rtcEventName: "organizationId",
|
|
2765
2770
|
getValue: (state) => selectOrganizationId(state),
|
|
2766
2771
|
getOutput: (value) => ({ organizationId: value }),
|
|
2767
|
-
},
|
|
2768
|
-
signalConnectionStatus: {
|
|
2772
|
+
}),
|
|
2773
|
+
signalConnectionStatus: createRtcAnalyticsCustomEvent({
|
|
2769
2774
|
actions: null,
|
|
2770
2775
|
rtcEventName: "signalConnectionStatus",
|
|
2771
2776
|
getValue: (state) => selectSignalStatus(state),
|
|
2772
2777
|
getOutput: (value) => ({ status: value }),
|
|
2773
|
-
},
|
|
2774
|
-
|
|
2778
|
+
}),
|
|
2779
|
+
recording: createRtcAnalyticsCustomEvent({
|
|
2780
|
+
actions: [signalEvents.newClient],
|
|
2781
|
+
rtcEventName: "recording",
|
|
2782
|
+
getValue: (state) => ({
|
|
2783
|
+
local: false,
|
|
2784
|
+
cloud: !!(selectIsCloudRecording(state) && selectCloudRecordingIsInitiator(state)),
|
|
2785
|
+
}),
|
|
2786
|
+
getOutput: (value) => value,
|
|
2787
|
+
}),
|
|
2788
|
+
roomSessionId: createRtcAnalyticsCustomEvent({
|
|
2775
2789
|
actions: [
|
|
2776
2790
|
signalEvents.newClient,
|
|
2777
2791
|
signalEvents.roomJoined,
|
|
@@ -2781,19 +2795,19 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2781
2795
|
rtcEventName: "roomSessionId",
|
|
2782
2796
|
getValue: (state) => selectRoomConnectionSessionId(state),
|
|
2783
2797
|
getOutput: (value) => ({ roomSessionId: value }),
|
|
2784
|
-
},
|
|
2785
|
-
rtcConnectionStatus: {
|
|
2798
|
+
}),
|
|
2799
|
+
rtcConnectionStatus: createRtcAnalyticsCustomEvent({
|
|
2786
2800
|
actions: null,
|
|
2787
2801
|
rtcEventName: "rtcConnectionStatus",
|
|
2788
2802
|
getValue: (state) => selectRtcStatus(state),
|
|
2789
2803
|
getOutput: (value) => ({ status: value }),
|
|
2790
|
-
},
|
|
2791
|
-
userRole: {
|
|
2804
|
+
}),
|
|
2805
|
+
userRole: createRtcAnalyticsCustomEvent({
|
|
2792
2806
|
actions: null,
|
|
2793
2807
|
rtcEventName: "userRole",
|
|
2794
2808
|
getValue: (state) => selectAuthorizationRoleName(state),
|
|
2795
2809
|
getOutput: (value) => ({ userRole: value }),
|
|
2796
|
-
},
|
|
2810
|
+
}),
|
|
2797
2811
|
};
|
|
2798
2812
|
const rtcCustomEventActions = Object.values(rtcAnalyticsCustomEvents)
|
|
2799
2813
|
.flatMap(({ actions }) => { var _a; return (_a = actions === null || actions === void 0 ? void 0 : actions.map((action) => action)) !== null && _a !== void 0 ? _a : null; })
|
|
@@ -3003,4 +3017,4 @@ const observeStore = (store, select, onChange) => {
|
|
|
3003
3017
|
return unsubscribe;
|
|
3004
3018
|
};
|
|
3005
3019
|
|
|
3006
|
-
export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppIsActive, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutRaw, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
|
3020
|
+
export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppIsActive, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutRaw, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
package/dist/redux/index.mjs
CHANGED
|
@@ -71,7 +71,7 @@ const createReactor = (selectors, callback) => {
|
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
const coreVersion = "1.0
|
|
74
|
+
const coreVersion = "1.1.0";
|
|
75
75
|
|
|
76
76
|
const initialState = {
|
|
77
77
|
isNodeSdk: false,
|
|
@@ -1079,6 +1079,7 @@ const selectChatRaw = (state) => state.chat;
|
|
|
1079
1079
|
const selectChatMessages = (state) => state.chat.chatMessages;
|
|
1080
1080
|
|
|
1081
1081
|
const initialCloudRecordingState = {
|
|
1082
|
+
isInitiator: false,
|
|
1082
1083
|
isRecording: false,
|
|
1083
1084
|
error: null,
|
|
1084
1085
|
startedAt: undefined,
|
|
@@ -1088,19 +1089,19 @@ const cloudRecordingSlice = createSlice({
|
|
|
1088
1089
|
initialState: initialCloudRecordingState,
|
|
1089
1090
|
reducers: {
|
|
1090
1091
|
recordingRequestStarted: (state) => {
|
|
1091
|
-
return Object.assign(Object.assign({}, state), { status: "requested" });
|
|
1092
|
+
return Object.assign(Object.assign({}, state), { isInitiator: true, status: "requested" });
|
|
1092
1093
|
},
|
|
1093
1094
|
},
|
|
1094
1095
|
extraReducers: (builder) => {
|
|
1095
1096
|
builder.addCase(signalEvents.cloudRecordingStopped, (state) => {
|
|
1096
|
-
return Object.assign(Object.assign({}, state), { isRecording: false, status: undefined });
|
|
1097
|
+
return Object.assign(Object.assign({}, state), { isInitiator: false, isRecording: false, status: undefined });
|
|
1097
1098
|
});
|
|
1098
1099
|
builder.addCase(signalEvents.cloudRecordingStarted, (state, action) => {
|
|
1099
1100
|
const { payload } = action;
|
|
1100
1101
|
if (!payload.error) {
|
|
1101
1102
|
return state;
|
|
1102
1103
|
}
|
|
1103
|
-
return Object.assign(Object.assign({}, state), { isRecording: false, status: "error", error: payload.error });
|
|
1104
|
+
return Object.assign(Object.assign({}, state), { isInitiator: false, isRecording: false, status: "error", error: payload.error });
|
|
1104
1105
|
});
|
|
1105
1106
|
builder.addCase(signalEvents.newClient, (state, { payload }) => {
|
|
1106
1107
|
var _a;
|
|
@@ -1137,6 +1138,7 @@ const selectCloudRecordingStatus = (state) => state.cloudRecording.status;
|
|
|
1137
1138
|
const selectCloudRecordingStartedAt = (state) => state.cloudRecording.startedAt;
|
|
1138
1139
|
const selectCloudRecordingError = (state) => state.cloudRecording.error;
|
|
1139
1140
|
const selectIsCloudRecording = (state) => state.cloudRecording.isRecording;
|
|
1141
|
+
const selectCloudRecordingIsInitiator = (state) => state.cloudRecording.isInitiator;
|
|
1140
1142
|
|
|
1141
1143
|
const selectRoomConnectionRaw = (state) => state.roomConnection;
|
|
1142
1144
|
const selectRoomConnectionSession = (state) => state.roomConnection.session;
|
|
@@ -2694,20 +2696,23 @@ startAppListening({
|
|
|
2694
2696
|
},
|
|
2695
2697
|
});
|
|
2696
2698
|
|
|
2699
|
+
function createRtcAnalyticsCustomEvent(parameters) {
|
|
2700
|
+
return parameters;
|
|
2701
|
+
}
|
|
2697
2702
|
const rtcAnalyticsCustomEvents = {
|
|
2698
|
-
audioEnabled: {
|
|
2703
|
+
audioEnabled: createRtcAnalyticsCustomEvent({
|
|
2699
2704
|
actions: [doEnableAudio.fulfilled],
|
|
2700
2705
|
rtcEventName: "audioEnabled",
|
|
2701
2706
|
getValue: (state) => selectIsMicrophoneEnabled(state),
|
|
2702
2707
|
getOutput: (value) => ({ enabled: value }),
|
|
2703
|
-
},
|
|
2704
|
-
videoEnabled: {
|
|
2708
|
+
}),
|
|
2709
|
+
videoEnabled: createRtcAnalyticsCustomEvent({
|
|
2705
2710
|
actions: [doEnableVideo.fulfilled],
|
|
2706
2711
|
rtcEventName: "videoEnabled",
|
|
2707
2712
|
getValue: (state) => selectIsCameraEnabled(state),
|
|
2708
2713
|
getOutput: (value) => ({ enabled: value }),
|
|
2709
|
-
},
|
|
2710
|
-
localStream: {
|
|
2714
|
+
}),
|
|
2715
|
+
localStream: createRtcAnalyticsCustomEvent({
|
|
2711
2716
|
actions: [doSetDevice.fulfilled],
|
|
2712
2717
|
rtcEventName: "localStream",
|
|
2713
2718
|
getValue: (state) => {
|
|
@@ -2715,8 +2720,8 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2715
2720
|
return (_a = selectLocalMediaStream(state)) === null || _a === void 0 ? void 0 : _a.getTracks().map((track) => ({ id: track.id, kind: track.kind, label: track.label }));
|
|
2716
2721
|
},
|
|
2717
2722
|
getOutput: (value) => ({ stream: value }),
|
|
2718
|
-
},
|
|
2719
|
-
localScreenshareStream: {
|
|
2723
|
+
}),
|
|
2724
|
+
localScreenshareStream: createRtcAnalyticsCustomEvent({
|
|
2720
2725
|
actions: [doStartScreenshare.fulfilled],
|
|
2721
2726
|
rtcEventName: "localScreenshareStream",
|
|
2722
2727
|
getValue: (state) => {
|
|
@@ -2724,14 +2729,14 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2724
2729
|
return (_a = selectLocalScreenshareStream(state)) === null || _a === void 0 ? void 0 : _a.getTracks().map((track) => ({ id: track.id, kind: track.kind, label: track.label }));
|
|
2725
2730
|
},
|
|
2726
2731
|
getOutput: (value) => ({ tracks: value }),
|
|
2727
|
-
},
|
|
2728
|
-
localScreenshareStreamStopped: {
|
|
2732
|
+
}),
|
|
2733
|
+
localScreenshareStreamStopped: createRtcAnalyticsCustomEvent({
|
|
2729
2734
|
actions: [stopScreenshare],
|
|
2730
2735
|
rtcEventName: "localScreenshareStream",
|
|
2731
2736
|
getValue: () => () => null,
|
|
2732
2737
|
getOutput: () => ({}),
|
|
2733
|
-
},
|
|
2734
|
-
displayName: {
|
|
2738
|
+
}),
|
|
2739
|
+
displayName: createRtcAnalyticsCustomEvent({
|
|
2735
2740
|
actions: [setDisplayName],
|
|
2736
2741
|
rtcEventName: "displayName",
|
|
2737
2742
|
getValue: (state) => {
|
|
@@ -2740,38 +2745,47 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2740
2745
|
return (prefs === null || prefs === void 0 ? void 0 : prefs.hideInsightsDisplayNames) ? "[[redacted]]" : displayName;
|
|
2741
2746
|
},
|
|
2742
2747
|
getOutput: (value) => ({ displayName: value }),
|
|
2743
|
-
},
|
|
2744
|
-
clientId: {
|
|
2748
|
+
}),
|
|
2749
|
+
clientId: createRtcAnalyticsCustomEvent({
|
|
2745
2750
|
actions: null,
|
|
2746
2751
|
rtcEventName: "clientId",
|
|
2747
2752
|
getValue: (state) => selectSelfId(state),
|
|
2748
2753
|
getOutput: (value) => ({ clientId: value }),
|
|
2749
|
-
},
|
|
2750
|
-
deviceId: {
|
|
2754
|
+
}),
|
|
2755
|
+
deviceId: createRtcAnalyticsCustomEvent({
|
|
2751
2756
|
actions: null,
|
|
2752
2757
|
rtcEventName: "deviceId",
|
|
2753
2758
|
getValue: (state) => selectDeviceId(state),
|
|
2754
2759
|
getOutput: (value) => ({ deviceId: value }),
|
|
2755
|
-
},
|
|
2756
|
-
externalId: {
|
|
2760
|
+
}),
|
|
2761
|
+
externalId: createRtcAnalyticsCustomEvent({
|
|
2757
2762
|
actions: null,
|
|
2758
2763
|
rtcEventName: "externalId",
|
|
2759
2764
|
getValue: (state) => selectAppExternalId(state),
|
|
2760
2765
|
getOutput: (value) => ({ externalId: value }),
|
|
2761
|
-
},
|
|
2762
|
-
organizationId: {
|
|
2766
|
+
}),
|
|
2767
|
+
organizationId: createRtcAnalyticsCustomEvent({
|
|
2763
2768
|
actions: null,
|
|
2764
2769
|
rtcEventName: "organizationId",
|
|
2765
2770
|
getValue: (state) => selectOrganizationId(state),
|
|
2766
2771
|
getOutput: (value) => ({ organizationId: value }),
|
|
2767
|
-
},
|
|
2768
|
-
signalConnectionStatus: {
|
|
2772
|
+
}),
|
|
2773
|
+
signalConnectionStatus: createRtcAnalyticsCustomEvent({
|
|
2769
2774
|
actions: null,
|
|
2770
2775
|
rtcEventName: "signalConnectionStatus",
|
|
2771
2776
|
getValue: (state) => selectSignalStatus(state),
|
|
2772
2777
|
getOutput: (value) => ({ status: value }),
|
|
2773
|
-
},
|
|
2774
|
-
|
|
2778
|
+
}),
|
|
2779
|
+
recording: createRtcAnalyticsCustomEvent({
|
|
2780
|
+
actions: [signalEvents.newClient],
|
|
2781
|
+
rtcEventName: "recording",
|
|
2782
|
+
getValue: (state) => ({
|
|
2783
|
+
local: false,
|
|
2784
|
+
cloud: !!(selectIsCloudRecording(state) && selectCloudRecordingIsInitiator(state)),
|
|
2785
|
+
}),
|
|
2786
|
+
getOutput: (value) => value,
|
|
2787
|
+
}),
|
|
2788
|
+
roomSessionId: createRtcAnalyticsCustomEvent({
|
|
2775
2789
|
actions: [
|
|
2776
2790
|
signalEvents.newClient,
|
|
2777
2791
|
signalEvents.roomJoined,
|
|
@@ -2781,19 +2795,19 @@ const rtcAnalyticsCustomEvents = {
|
|
|
2781
2795
|
rtcEventName: "roomSessionId",
|
|
2782
2796
|
getValue: (state) => selectRoomConnectionSessionId(state),
|
|
2783
2797
|
getOutput: (value) => ({ roomSessionId: value }),
|
|
2784
|
-
},
|
|
2785
|
-
rtcConnectionStatus: {
|
|
2798
|
+
}),
|
|
2799
|
+
rtcConnectionStatus: createRtcAnalyticsCustomEvent({
|
|
2786
2800
|
actions: null,
|
|
2787
2801
|
rtcEventName: "rtcConnectionStatus",
|
|
2788
2802
|
getValue: (state) => selectRtcStatus(state),
|
|
2789
2803
|
getOutput: (value) => ({ status: value }),
|
|
2790
|
-
},
|
|
2791
|
-
userRole: {
|
|
2804
|
+
}),
|
|
2805
|
+
userRole: createRtcAnalyticsCustomEvent({
|
|
2792
2806
|
actions: null,
|
|
2793
2807
|
rtcEventName: "userRole",
|
|
2794
2808
|
getValue: (state) => selectAuthorizationRoleName(state),
|
|
2795
2809
|
getOutput: (value) => ({ userRole: value }),
|
|
2796
|
-
},
|
|
2810
|
+
}),
|
|
2797
2811
|
};
|
|
2798
2812
|
const rtcCustomEventActions = Object.values(rtcAnalyticsCustomEvents)
|
|
2799
2813
|
.flatMap(({ actions }) => { var _a; return (_a = actions === null || actions === void 0 ? void 0 : actions.map((action) => action)) !== null && _a !== void 0 ? _a : null; })
|
|
@@ -3003,4 +3017,4 @@ const observeStore = (store, select, onChange) => {
|
|
|
3003
3017
|
return unsubscribe;
|
|
3004
3018
|
};
|
|
3005
3019
|
|
|
3006
|
-
export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppIsActive, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutRaw, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
|
3020
|
+
export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppIsActive, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutRaw, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@whereby.com/core",
|
|
3
3
|
"description": "Core library for whereby.com sdk",
|
|
4
4
|
"author": "Whereby AS",
|
|
5
|
-
"version": "1.0
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"@whereby.com/eslint-config": "0.1.0",
|
|
62
62
|
"@whereby.com/jest-config": "0.1.0",
|
|
63
63
|
"@whereby.com/prettier-config": "0.1.0",
|
|
64
|
-
"@whereby.com/
|
|
65
|
-
"@whereby.com/
|
|
64
|
+
"@whereby.com/tsconfig": "0.1.0",
|
|
65
|
+
"@whereby.com/rollup-config": "0.1.0"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@reduxjs/toolkit": "^2.2.3",
|
|
69
|
-
"@whereby.com/media": "1.
|
|
69
|
+
"@whereby.com/media": "2.1.0",
|
|
70
70
|
"axios": "^1.2.3",
|
|
71
71
|
"btoa": "^1.2.1",
|
|
72
72
|
"events": "^3.3.0"
|