@whereby.com/core 1.18.7 → 1.20.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 +65 -18
- package/dist/index.d.cts +19 -3
- package/dist/index.d.mts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +64 -19
- package/dist/legacy-esm.js +64 -19
- package/dist/redux/index.cjs +35 -16
- package/dist/redux/index.d.cts +60 -6
- package/dist/redux/index.d.mts +60 -6
- package/dist/redux/index.d.ts +60 -6
- package/dist/redux/index.js +34 -16
- package/dist/redux/index.mjs +34 -16
- package/package.json +3 -3
package/dist/redux/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.
|
|
77
|
+
const coreVersion = "1.20.0";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -127,6 +127,7 @@ const selectAppUserAgent = (state) => state.app.userAgent;
|
|
|
127
127
|
const selectAppExternalId = (state) => state.app.externalId;
|
|
128
128
|
const selectAppIsNodeSdk = (state) => state.app.isNodeSdk;
|
|
129
129
|
const selectAppInitialConfig = (state) => state.app.initialConfig;
|
|
130
|
+
const selectAppInitialMuteStates = (state) => state.app.initialMuteStates;
|
|
130
131
|
const selectAppIgnoreBreakoutGroups = (state) => state.app.ignoreBreakoutGroups;
|
|
131
132
|
|
|
132
133
|
function createSignalEventAction(name) {
|
|
@@ -941,6 +942,20 @@ createReactor([selectLocalMediaShouldStop], ({ dispatch }, localMediaShouldStop)
|
|
|
941
942
|
dispatch(doStopLocalMedia());
|
|
942
943
|
}
|
|
943
944
|
});
|
|
945
|
+
const selectShouldApplyInitialMuteStates = createSelector(selectAppIsActive, selectLocalMediaStatus, selectAppInitialMuteStates, (appIsActive, localMediaStatus, initialMuteStates) => appIsActive && localMediaStatus === "started" && !!initialMuteStates);
|
|
946
|
+
createReactor([selectShouldApplyInitialMuteStates], ({ dispatch, getState }, shouldApplyInitialMuteStates) => {
|
|
947
|
+
var _a;
|
|
948
|
+
if (!shouldApplyInitialMuteStates) {
|
|
949
|
+
return;
|
|
950
|
+
}
|
|
951
|
+
const { camera, microphone } = (_a = selectAppInitialMuteStates(getState())) !== null && _a !== void 0 ? _a : {};
|
|
952
|
+
if (camera !== undefined) {
|
|
953
|
+
dispatch(toggleCameraEnabled({ enabled: !camera }));
|
|
954
|
+
}
|
|
955
|
+
if (microphone !== undefined) {
|
|
956
|
+
dispatch(toggleMicrophoneEnabled({ enabled: !microphone }));
|
|
957
|
+
}
|
|
958
|
+
});
|
|
944
959
|
startAppListening({
|
|
945
960
|
predicate: (_action, currentState, previousState) => {
|
|
946
961
|
const oldValue = selectIsMicrophoneEnabled(previousState);
|
|
@@ -1061,7 +1076,6 @@ const selectLocalParticipantRaw = (state) => state.localParticipant;
|
|
|
1061
1076
|
const selectSelfId = (state) => state.localParticipant.id;
|
|
1062
1077
|
const selectLocalParticipantDisplayName = (state) => state.localParticipant.displayName;
|
|
1063
1078
|
const selectLocalParticipantClientClaim = (state) => state.localParticipant.clientClaim;
|
|
1064
|
-
const selectLocalParticipantIsScreenSharing = (state) => state.localParticipant.isScreenSharing;
|
|
1065
1079
|
const selectLocalParticipantStickyReaction = (state) => state.localParticipant.stickyReaction;
|
|
1066
1080
|
const selectLocalParticipantBreakoutGroup = (state) => state.localParticipant.breakoutGroup;
|
|
1067
1081
|
const selectLocalParticipantBreakoutAssigned = (state) => state.localParticipant.breakoutGroupAssigned;
|
|
@@ -2492,6 +2506,13 @@ startAppListening({
|
|
|
2492
2506
|
}
|
|
2493
2507
|
},
|
|
2494
2508
|
});
|
|
2509
|
+
startAppListening({
|
|
2510
|
+
actionCreator: signalEvents.clientLeft,
|
|
2511
|
+
effect: (action, { getState }) => {
|
|
2512
|
+
const rtcManager = selectRtcManager(getState());
|
|
2513
|
+
rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.disconnect(action.payload.clientId, action.payload.eventClaim);
|
|
2514
|
+
},
|
|
2515
|
+
});
|
|
2495
2516
|
const selectShouldConnectRtc = createSelector(selectRtcStatus, selectAppIsActive, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectSignalConnectionSocket, (rtcStatus, appIsActive, dispatcherCreated, isCreatingDispatcher, signalSocket) => {
|
|
2496
2517
|
if (appIsActive && rtcStatus === "inactive" && !dispatcherCreated && !isCreatingDispatcher && signalSocket) {
|
|
2497
2518
|
return true;
|
|
@@ -3000,7 +3021,6 @@ const localParticipantSliceInitialState = {
|
|
|
3000
3021
|
isAudioRecorder: false,
|
|
3001
3022
|
isDialIn: false,
|
|
3002
3023
|
isLocalParticipant: true,
|
|
3003
|
-
isScreenSharing: false,
|
|
3004
3024
|
isVideoEnabled: true,
|
|
3005
3025
|
roleName: "none",
|
|
3006
3026
|
stickyReaction: undefined,
|
|
@@ -3031,7 +3051,7 @@ const localParticipantSlice = createSlice({
|
|
|
3031
3051
|
return Object.assign(Object.assign({}, state), { stickyReaction: action.payload });
|
|
3032
3052
|
});
|
|
3033
3053
|
builder.addCase(signalEvents.roomJoined, (state, action) => {
|
|
3034
|
-
var _a;
|
|
3054
|
+
var _a, _b, _c;
|
|
3035
3055
|
if ("error" in action.payload) {
|
|
3036
3056
|
if (action.payload.error === "room_locked") {
|
|
3037
3057
|
return Object.assign(Object.assign({}, state), { id: action.payload.selfId });
|
|
@@ -3040,7 +3060,7 @@ const localParticipantSlice = createSlice({
|
|
|
3040
3060
|
}
|
|
3041
3061
|
const { room, selfId, clientClaim } = action.payload || {};
|
|
3042
3062
|
const client = room.clients.find((c) => c.id === selfId);
|
|
3043
|
-
return Object.assign(Object.assign({}, state), { id: selfId, roleName: ((_a = client === null || client === void 0 ? void 0 : client.role) === null || _a === void 0 ? void 0 : _a.roleName) || "none", clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null });
|
|
3063
|
+
return Object.assign(Object.assign({}, state), { id: selfId, roleName: ((_a = client === null || client === void 0 ? void 0 : client.role) === null || _a === void 0 ? void 0 : _a.roleName) || "none", clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null, isAudioEnabled: (_b = client === null || client === void 0 ? void 0 : client.isAudioEnabled) !== null && _b !== void 0 ? _b : state.isAudioEnabled, isVideoEnabled: (_c = client === null || client === void 0 ? void 0 : client.isVideoEnabled) !== null && _c !== void 0 ? _c : state.isVideoEnabled });
|
|
3044
3064
|
});
|
|
3045
3065
|
builder.addCase(signalEvents.breakoutGroupJoined, (state, action) => {
|
|
3046
3066
|
var _a, _b;
|
|
@@ -3102,26 +3122,24 @@ const doSendClientMetadata = createRoomConnectedThunk(() => (_, getState) => {
|
|
|
3102
3122
|
});
|
|
3103
3123
|
startAppListening({
|
|
3104
3124
|
actionCreator: toggleCameraEnabled,
|
|
3105
|
-
effect: (
|
|
3106
|
-
const
|
|
3107
|
-
const
|
|
3108
|
-
const roomConnectionStatus = selectRoomConnectionStatus(getState());
|
|
3125
|
+
effect: (_, { dispatch, getState }) => {
|
|
3126
|
+
const state = getState();
|
|
3127
|
+
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
3109
3128
|
if (roomConnectionStatus !== "connected") {
|
|
3110
3129
|
return;
|
|
3111
3130
|
}
|
|
3112
|
-
dispatch(doEnableVideo({ enabled:
|
|
3131
|
+
dispatch(doEnableVideo({ enabled: selectIsCameraEnabled(state) }));
|
|
3113
3132
|
},
|
|
3114
3133
|
});
|
|
3115
3134
|
startAppListening({
|
|
3116
3135
|
actionCreator: toggleMicrophoneEnabled,
|
|
3117
|
-
effect: (
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
const roomConnectionStatus = selectRoomConnectionStatus(getState());
|
|
3136
|
+
effect: (_, { dispatch, getState }) => {
|
|
3137
|
+
const state = getState();
|
|
3138
|
+
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
3121
3139
|
if (roomConnectionStatus !== "connected") {
|
|
3122
3140
|
return;
|
|
3123
3141
|
}
|
|
3124
|
-
dispatch(doEnableAudio({ enabled:
|
|
3142
|
+
dispatch(doEnableAudio({ enabled: selectIsMicrophoneEnabled(state) }));
|
|
3125
3143
|
},
|
|
3126
3144
|
});
|
|
3127
3145
|
createReactor([
|
|
@@ -4777,4 +4795,4 @@ function createServices() {
|
|
|
4777
4795
|
};
|
|
4778
4796
|
}
|
|
4779
4797
|
|
|
4780
|
-
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, 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, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName,
|
|
4798
|
+
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, 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, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
package/dist/redux/index.mjs
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.
|
|
77
|
+
const coreVersion = "1.20.0";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -127,6 +127,7 @@ const selectAppUserAgent = (state) => state.app.userAgent;
|
|
|
127
127
|
const selectAppExternalId = (state) => state.app.externalId;
|
|
128
128
|
const selectAppIsNodeSdk = (state) => state.app.isNodeSdk;
|
|
129
129
|
const selectAppInitialConfig = (state) => state.app.initialConfig;
|
|
130
|
+
const selectAppInitialMuteStates = (state) => state.app.initialMuteStates;
|
|
130
131
|
const selectAppIgnoreBreakoutGroups = (state) => state.app.ignoreBreakoutGroups;
|
|
131
132
|
|
|
132
133
|
function createSignalEventAction(name) {
|
|
@@ -941,6 +942,20 @@ createReactor([selectLocalMediaShouldStop], ({ dispatch }, localMediaShouldStop)
|
|
|
941
942
|
dispatch(doStopLocalMedia());
|
|
942
943
|
}
|
|
943
944
|
});
|
|
945
|
+
const selectShouldApplyInitialMuteStates = createSelector(selectAppIsActive, selectLocalMediaStatus, selectAppInitialMuteStates, (appIsActive, localMediaStatus, initialMuteStates) => appIsActive && localMediaStatus === "started" && !!initialMuteStates);
|
|
946
|
+
createReactor([selectShouldApplyInitialMuteStates], ({ dispatch, getState }, shouldApplyInitialMuteStates) => {
|
|
947
|
+
var _a;
|
|
948
|
+
if (!shouldApplyInitialMuteStates) {
|
|
949
|
+
return;
|
|
950
|
+
}
|
|
951
|
+
const { camera, microphone } = (_a = selectAppInitialMuteStates(getState())) !== null && _a !== void 0 ? _a : {};
|
|
952
|
+
if (camera !== undefined) {
|
|
953
|
+
dispatch(toggleCameraEnabled({ enabled: !camera }));
|
|
954
|
+
}
|
|
955
|
+
if (microphone !== undefined) {
|
|
956
|
+
dispatch(toggleMicrophoneEnabled({ enabled: !microphone }));
|
|
957
|
+
}
|
|
958
|
+
});
|
|
944
959
|
startAppListening({
|
|
945
960
|
predicate: (_action, currentState, previousState) => {
|
|
946
961
|
const oldValue = selectIsMicrophoneEnabled(previousState);
|
|
@@ -1061,7 +1076,6 @@ const selectLocalParticipantRaw = (state) => state.localParticipant;
|
|
|
1061
1076
|
const selectSelfId = (state) => state.localParticipant.id;
|
|
1062
1077
|
const selectLocalParticipantDisplayName = (state) => state.localParticipant.displayName;
|
|
1063
1078
|
const selectLocalParticipantClientClaim = (state) => state.localParticipant.clientClaim;
|
|
1064
|
-
const selectLocalParticipantIsScreenSharing = (state) => state.localParticipant.isScreenSharing;
|
|
1065
1079
|
const selectLocalParticipantStickyReaction = (state) => state.localParticipant.stickyReaction;
|
|
1066
1080
|
const selectLocalParticipantBreakoutGroup = (state) => state.localParticipant.breakoutGroup;
|
|
1067
1081
|
const selectLocalParticipantBreakoutAssigned = (state) => state.localParticipant.breakoutGroupAssigned;
|
|
@@ -2492,6 +2506,13 @@ startAppListening({
|
|
|
2492
2506
|
}
|
|
2493
2507
|
},
|
|
2494
2508
|
});
|
|
2509
|
+
startAppListening({
|
|
2510
|
+
actionCreator: signalEvents.clientLeft,
|
|
2511
|
+
effect: (action, { getState }) => {
|
|
2512
|
+
const rtcManager = selectRtcManager(getState());
|
|
2513
|
+
rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.disconnect(action.payload.clientId, action.payload.eventClaim);
|
|
2514
|
+
},
|
|
2515
|
+
});
|
|
2495
2516
|
const selectShouldConnectRtc = createSelector(selectRtcStatus, selectAppIsActive, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectSignalConnectionSocket, (rtcStatus, appIsActive, dispatcherCreated, isCreatingDispatcher, signalSocket) => {
|
|
2496
2517
|
if (appIsActive && rtcStatus === "inactive" && !dispatcherCreated && !isCreatingDispatcher && signalSocket) {
|
|
2497
2518
|
return true;
|
|
@@ -3000,7 +3021,6 @@ const localParticipantSliceInitialState = {
|
|
|
3000
3021
|
isAudioRecorder: false,
|
|
3001
3022
|
isDialIn: false,
|
|
3002
3023
|
isLocalParticipant: true,
|
|
3003
|
-
isScreenSharing: false,
|
|
3004
3024
|
isVideoEnabled: true,
|
|
3005
3025
|
roleName: "none",
|
|
3006
3026
|
stickyReaction: undefined,
|
|
@@ -3031,7 +3051,7 @@ const localParticipantSlice = createSlice({
|
|
|
3031
3051
|
return Object.assign(Object.assign({}, state), { stickyReaction: action.payload });
|
|
3032
3052
|
});
|
|
3033
3053
|
builder.addCase(signalEvents.roomJoined, (state, action) => {
|
|
3034
|
-
var _a;
|
|
3054
|
+
var _a, _b, _c;
|
|
3035
3055
|
if ("error" in action.payload) {
|
|
3036
3056
|
if (action.payload.error === "room_locked") {
|
|
3037
3057
|
return Object.assign(Object.assign({}, state), { id: action.payload.selfId });
|
|
@@ -3040,7 +3060,7 @@ const localParticipantSlice = createSlice({
|
|
|
3040
3060
|
}
|
|
3041
3061
|
const { room, selfId, clientClaim } = action.payload || {};
|
|
3042
3062
|
const client = room.clients.find((c) => c.id === selfId);
|
|
3043
|
-
return Object.assign(Object.assign({}, state), { id: selfId, roleName: ((_a = client === null || client === void 0 ? void 0 : client.role) === null || _a === void 0 ? void 0 : _a.roleName) || "none", clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null });
|
|
3063
|
+
return Object.assign(Object.assign({}, state), { id: selfId, roleName: ((_a = client === null || client === void 0 ? void 0 : client.role) === null || _a === void 0 ? void 0 : _a.roleName) || "none", clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null, isAudioEnabled: (_b = client === null || client === void 0 ? void 0 : client.isAudioEnabled) !== null && _b !== void 0 ? _b : state.isAudioEnabled, isVideoEnabled: (_c = client === null || client === void 0 ? void 0 : client.isVideoEnabled) !== null && _c !== void 0 ? _c : state.isVideoEnabled });
|
|
3044
3064
|
});
|
|
3045
3065
|
builder.addCase(signalEvents.breakoutGroupJoined, (state, action) => {
|
|
3046
3066
|
var _a, _b;
|
|
@@ -3102,26 +3122,24 @@ const doSendClientMetadata = createRoomConnectedThunk(() => (_, getState) => {
|
|
|
3102
3122
|
});
|
|
3103
3123
|
startAppListening({
|
|
3104
3124
|
actionCreator: toggleCameraEnabled,
|
|
3105
|
-
effect: (
|
|
3106
|
-
const
|
|
3107
|
-
const
|
|
3108
|
-
const roomConnectionStatus = selectRoomConnectionStatus(getState());
|
|
3125
|
+
effect: (_, { dispatch, getState }) => {
|
|
3126
|
+
const state = getState();
|
|
3127
|
+
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
3109
3128
|
if (roomConnectionStatus !== "connected") {
|
|
3110
3129
|
return;
|
|
3111
3130
|
}
|
|
3112
|
-
dispatch(doEnableVideo({ enabled:
|
|
3131
|
+
dispatch(doEnableVideo({ enabled: selectIsCameraEnabled(state) }));
|
|
3113
3132
|
},
|
|
3114
3133
|
});
|
|
3115
3134
|
startAppListening({
|
|
3116
3135
|
actionCreator: toggleMicrophoneEnabled,
|
|
3117
|
-
effect: (
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
const roomConnectionStatus = selectRoomConnectionStatus(getState());
|
|
3136
|
+
effect: (_, { dispatch, getState }) => {
|
|
3137
|
+
const state = getState();
|
|
3138
|
+
const roomConnectionStatus = selectRoomConnectionStatus(state);
|
|
3121
3139
|
if (roomConnectionStatus !== "connected") {
|
|
3122
3140
|
return;
|
|
3123
3141
|
}
|
|
3124
|
-
dispatch(doEnableAudio({ enabled:
|
|
3142
|
+
dispatch(doEnableAudio({ enabled: selectIsMicrophoneEnabled(state) }));
|
|
3125
3143
|
},
|
|
3126
3144
|
});
|
|
3127
3145
|
createReactor([
|
|
@@ -4777,4 +4795,4 @@ function createServices() {
|
|
|
4777
4795
|
};
|
|
4778
4796
|
}
|
|
4779
4797
|
|
|
4780
|
-
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, 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, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName,
|
|
4798
|
+
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, 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, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, 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.
|
|
5
|
+
"version": "1.20.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@reduxjs/toolkit": "^2.2.3",
|
|
69
|
-
"@whereby.com/media": "
|
|
70
|
-
"@whereby.com/audio-denoiser": "1.0.
|
|
69
|
+
"@whereby.com/media": "10.0.0",
|
|
70
|
+
"@whereby.com/audio-denoiser": "1.0.15",
|
|
71
71
|
"@whereby.com/camera-effects": "1.1.3",
|
|
72
72
|
"axios": "^1.11.0",
|
|
73
73
|
"btoa": "^1.2.1",
|