@whereby.com/core 1.22.0 → 1.23.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.
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
74
74
  });
75
75
  };
76
76
 
77
- const coreVersion = "1.22.0";
77
+ const coreVersion = "1.23.0";
78
78
 
79
79
  function decodeRoomName(roomName) {
80
80
  if (!roomName) {
@@ -1095,7 +1095,7 @@ const selectLocalParticipantClientClaim = (state) => state.localParticipant.clie
1095
1095
  const selectLocalParticipantStickyReaction = (state) => state.localParticipant.stickyReaction;
1096
1096
  const selectLocalParticipantBreakoutGroup = (state) => state.localParticipant.breakoutGroup;
1097
1097
  const selectLocalParticipantBreakoutAssigned = (state) => state.localParticipant.breakoutGroupAssigned;
1098
- const selectLocalParticipantView = createSelector(selectLocalParticipantRaw, selectLocalMediaStream, (participant, localStream) => {
1098
+ const selectLocalParticipantView = createSelector(selectLocalParticipantRaw, selectLocalMediaStream, (state) => state.rtcConnection.isAudioOnlyModeEnabled, (participant, localStream, isAudioOnlyModeEnabled) => {
1099
1099
  const clientView = {
1100
1100
  id: participant.id,
1101
1101
  clientId: participant.id,
@@ -1105,6 +1105,7 @@ const selectLocalParticipantView = createSelector(selectLocalParticipantRaw, sel
1105
1105
  isLocalClient: true,
1106
1106
  isAudioEnabled: participant.isAudioEnabled,
1107
1107
  isVideoEnabled: participant.isVideoEnabled,
1108
+ isAudioOnlyModeEnabled,
1108
1109
  };
1109
1110
  if (NON_PERSON_ROLES.includes(participant.roleName)) {
1110
1111
  return null;
@@ -2117,6 +2118,13 @@ const selectScreenshares = createSelector(selectLocalScreenshareStream, selectLo
2117
2118
  }
2118
2119
  return screenshares;
2119
2120
  });
2121
+ const selectRemoteScreenshareVideoTrackIds = createSelector(selectScreenshares, (screenshares) => screenshares
2122
+ .filter((screenshare) => !screenshare.isLocal)
2123
+ .flatMap((screenshare) => { var _a, _b; return (_b = (_a = screenshare.stream) === null || _a === void 0 ? void 0 : _a.getVideoTracks().map((track) => track.id)) !== null && _b !== void 0 ? _b : []; }), {
2124
+ memoizeOptions: {
2125
+ resultEqualityCheck: (a, b) => a.length === b.length && a.every((trackId, index) => trackId === b[index]),
2126
+ },
2127
+ });
2120
2128
  const selectRemoteClientViews = createSelector(selectLocalScreenshareStream, selectLocalParticipantRaw, selectRemoteParticipants, selectBreakoutCurrentId, selectBreakoutAssignments, (localScreenshareStream, localParticipant, remoteParticipants, breakoutCurrentId, breakoutAssignments) => {
2121
2129
  const views = [];
2122
2130
  if (localScreenshareStream) {
@@ -2329,11 +2337,16 @@ const rtcConnectionSliceInitialState = {
2329
2337
  rtcManagerInitialized: false,
2330
2338
  status: "inactive",
2331
2339
  isAcceptingStreams: false,
2340
+ isAudioOnlyModeEnabled: false,
2332
2341
  };
2333
2342
  const rtcConnectionSlice = createSlice({
2334
2343
  name: "rtcConnection",
2335
2344
  initialState: rtcConnectionSliceInitialState,
2336
2345
  reducers: {
2346
+ audioOnlyModeToggled: (state, action) => {
2347
+ var _a;
2348
+ return Object.assign(Object.assign({}, state), { isAudioOnlyModeEnabled: (_a = action.payload.enabled) !== null && _a !== void 0 ? _a : !state.isAudioOnlyModeEnabled });
2349
+ },
2337
2350
  isAcceptingStreams: (state, action) => {
2338
2351
  return Object.assign(Object.assign({}, state), { isAcceptingStreams: action.payload });
2339
2352
  },
@@ -2351,7 +2364,7 @@ const rtcConnectionSlice = createSlice({
2351
2364
  return Object.assign(Object.assign({}, state), { rtcManager: action.payload, status: "ready" });
2352
2365
  },
2353
2366
  rtcManagerDestroyed: (state) => {
2354
- return Object.assign(Object.assign({}, state), { rtcManager: null });
2367
+ return Object.assign(Object.assign({}, state), { rtcManager: null, rtcManagerInitialized: false });
2355
2368
  },
2356
2369
  rtcManagerInitialized: (state) => {
2357
2370
  return Object.assign(Object.assign({}, state), { rtcManagerInitialized: true });
@@ -2382,7 +2395,7 @@ const rtcConnectionSlice = createSlice({
2382
2395
  });
2383
2396
  },
2384
2397
  });
2385
- const { resolutionReported, rtcDispatcherCreated, rtcDisconnected, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, isAcceptingStreams, rtcClientConnectionStatusChanged, } = rtcConnectionSlice.actions;
2398
+ const { audioOnlyModeToggled, resolutionReported, rtcDispatcherCreated, rtcDisconnected, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, isAcceptingStreams, rtcClientConnectionStatusChanged, } = rtcConnectionSlice.actions;
2386
2399
  const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
2387
2400
  const state = getState();
2388
2401
  const socket = selectSignalConnectionRaw(state).socket;
@@ -2480,8 +2493,19 @@ const doRtcManagerInitialize = createAppThunk(() => (dispatch, getState) => {
2480
2493
  videoPaused: !isCameraEnabled,
2481
2494
  });
2482
2495
  }
2496
+ const screenshareStream = selectLocalScreenshareStream(getState());
2497
+ if (screenshareStream && rtcManager) {
2498
+ rtcManager.addScreenshareStream(screenshareStream);
2499
+ }
2483
2500
  dispatch(rtcManagerInitialized());
2484
2501
  });
2502
+ const doToggleAudioOnlyMode = createAppThunk(({ enabled, autoDisableLocalCamera }) => (dispatch, getState) => {
2503
+ dispatch(audioOnlyModeToggled({ enabled }));
2504
+ const state = getState();
2505
+ if (autoDisableLocalCamera && selectIsAudioOnlyModeEnabled(state) && selectIsCameraEnabled(state)) {
2506
+ dispatch(toggleCameraEnabled({ enabled: false }));
2507
+ }
2508
+ });
2485
2509
  const selectRtcConnectionRaw = (state) => state.rtcConnection;
2486
2510
  const selectRtcManagerInitialized = (state) => state.rtcConnection.rtcManagerInitialized;
2487
2511
  const selectRtcManager = (state) => state.rtcConnection.rtcManager;
@@ -2489,6 +2513,7 @@ const selectRtcDispatcherCreated = (state) => state.rtcConnection.dispatcherCrea
2489
2513
  const selectRtcIsCreatingDispatcher = (state) => state.rtcConnection.isCreatingDispatcher;
2490
2514
  const selectRtcStatus = (state) => state.rtcConnection.status;
2491
2515
  const selectIsAcceptingStreams = (state) => state.rtcConnection.isAcceptingStreams;
2516
+ const selectIsAudioOnlyModeEnabled = (state) => state.rtcConnection.isAudioOnlyModeEnabled;
2492
2517
  startAppListening({
2493
2518
  actionCreator: doSetDevice.fulfilled,
2494
2519
  effect: ({ payload }, { getState }) => {
@@ -2544,6 +2569,22 @@ startAppListening({
2544
2569
  }
2545
2570
  },
2546
2571
  });
2572
+ startAppListening({
2573
+ actionCreator: audioOnlyModeToggled,
2574
+ effect: (_, { getState }) => {
2575
+ const state = getState();
2576
+ const rtcManager = selectRtcManager(state);
2577
+ rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.setAudioOnly(selectIsAudioOnlyModeEnabled(state));
2578
+ },
2579
+ });
2580
+ startAppListening({
2581
+ actionCreator: rtcManagerCreated,
2582
+ effect: ({ payload: rtcManager }, { getState }) => {
2583
+ if (selectIsAudioOnlyModeEnabled(getState())) {
2584
+ rtcManager.setAudioOnly(true);
2585
+ }
2586
+ },
2587
+ });
2547
2588
  startAppListening({
2548
2589
  actionCreator: rtcEvents.clientConnectionStatusChanged,
2549
2590
  effect: (_, { dispatch, getState }) => {
@@ -2605,6 +2646,9 @@ createReactor([selectShouldDisconnectRtc], ({ dispatch }, shouldDisconnectRtc) =
2605
2646
  dispatch(doDisconnectRtc());
2606
2647
  }
2607
2648
  });
2649
+ createReactor([selectRtcManager, selectRemoteScreenshareVideoTrackIds], (_, rtcManager, remoteScreenshareVideoTrackIds) => {
2650
+ rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.setRemoteScreenshareVideoTrackIds(remoteScreenshareVideoTrackIds);
2651
+ });
2608
2652
  const selectStreamsToAccept = createSelector(selectRtcStatus, selectRemoteClients, selectBreakoutCurrentId, selectSpotlights, selectAppIgnoreBreakoutGroups, (rtcStatus, remoteParticipants, breakoutCurrentId, spotlights, ignoreBreakoutGroups) => {
2609
2653
  if (rtcStatus !== "ready") {
2610
2654
  return [];
@@ -2677,6 +2721,7 @@ const doStartConnectionMonitor = createAppThunk(() => (dispatch, getState) => {
2677
2721
  return ({
2678
2722
  id: clientView.id,
2679
2723
  clientId: clientView.clientId,
2724
+ isAudioOnlyModeEnabled: clientView.isAudioOnlyModeEnabled,
2680
2725
  isLocalClient: clientView.isLocalClient,
2681
2726
  audio: {
2682
2727
  enabled: clientView.isAudioEnabled,
@@ -5271,4 +5316,4 @@ function createServices() {
5271
5316
  };
5272
5317
  }
5273
5318
 
5274
- export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, ROOM_INTEGRATION_PICKER_MESSAGES, 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, doFetchRoomIntegrations, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartRoomIntegration, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopRoomIntegration, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, doUpdateRoomIntegrationProps, 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, parseRoomIntegration, parseRoomIntegrationSession, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomIntegrationPickerUrl, roomIntegrationSignalError, roomIntegrationsSlice, roomIntegrationsSliceInitialState, 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, selectAvailableRoomIntegrations, 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, selectEmbeddableRoomIntegrations, selectEnabledRoomIntegrations, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToManageRoomIntegration, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsRoomIntegrationRunning, 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, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIntegrationForUrl, selectRoomIntegrationsEnabled, selectRoomIntegrationsError, selectRoomIntegrationsHasFetched, selectRoomIntegrationsIsFetching, selectRoomIntegrationsRaw, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectRunningRoomIntegrations, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldFetchRoomIntegrations, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectUnavailableRoomIntegrations, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomIntegrationsError, 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 };
5319
+ export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, ROOM_INTEGRATION_PICKER_MESSAGES, addAppListener, addSpotlight, appSlice, audioOnlyModeToggled, 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, doFetchRoomIntegrations, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartRoomIntegration, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopRoomIntegration, doStopScreenshare, doSwitchLocalStream, doToggleAudioOnlyMode, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, doUpdateRoomIntegrationProps, 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, parseRoomIntegration, parseRoomIntegrationSession, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomIntegrationPickerUrl, roomIntegrationSignalError, roomIntegrationsSlice, roomIntegrationsSliceInitialState, 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, selectAvailableRoomIntegrations, 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, selectEmbeddableRoomIntegrations, selectEnabledRoomIntegrations, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAudioOnlyModeEnabled, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToManageRoomIntegration, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsRoomIntegrationRunning, 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, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRemoteScreenshareVideoTrackIds, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIntegrationForUrl, selectRoomIntegrationsEnabled, selectRoomIntegrationsError, selectRoomIntegrationsHasFetched, selectRoomIntegrationsIsFetching, selectRoomIntegrationsRaw, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectRunningRoomIntegrations, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldFetchRoomIntegrations, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectUnavailableRoomIntegrations, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomIntegrationsError, 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.22.0",
5
+ "version": "1.23.0",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -60,14 +60,14 @@
60
60
  "typescript": "^5.8.3",
61
61
  "@whereby.com/eslint-config": "0.1.0",
62
62
  "@whereby.com/jest-config": "0.1.0",
63
- "@whereby.com/rollup-config": "0.1.1",
64
63
  "@whereby.com/prettier-config": "0.1.0",
64
+ "@whereby.com/rollup-config": "0.1.1",
65
65
  "@whereby.com/tsconfig": "0.1.0"
66
66
  },
67
67
  "dependencies": {
68
68
  "@reduxjs/toolkit": "^2.2.3",
69
- "@whereby.com/media": "11.2.0",
70
- "@whereby.com/audio-denoiser": "1.0.22",
69
+ "@whereby.com/media": "11.2.1",
70
+ "@whereby.com/audio-denoiser": "1.0.23",
71
71
  "@whereby.com/camera-effects": "1.1.3",
72
72
  "axios": "^1.11.0",
73
73
  "btoa": "^1.2.1",