@whereby.com/core 1.9.0 → 1.9.2

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.
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
73
73
  });
74
74
  };
75
75
 
76
- const coreVersion = "1.9.0";
76
+ const coreVersion = "1.9.2";
77
77
 
78
78
  const initialState$1 = {
79
79
  displayName: null,
@@ -617,7 +617,7 @@ const doToggleCamera = createAppAsyncThunk("localMedia/doToggleCamera", (_1, _a)
617
617
  else {
618
618
  const constraintsOptions = selectLocalMediaConstraintsOptions(state);
619
619
  const cameraDeviceId = selectCurrentCameraDeviceId(state);
620
- yield getStream(Object.assign(Object.assign({}, constraintsOptions), { audioId: false, videoId: cameraDeviceId, type: "exact" }), { replaceStream: stream });
620
+ yield getStream(Object.assign(Object.assign({}, constraintsOptions), { audioId: false, videoId: cameraDeviceId || true, type: "exact" }), { replaceStream: stream });
621
621
  track = stream.getVideoTracks()[0];
622
622
  }
623
623
  }
@@ -682,7 +682,6 @@ const doSetDevice = createAppAsyncThunk("localMedia/reactSetDevice", (_a, _b) =>
682
682
  }
683
683
  }));
684
684
  const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { getState, dispatch, rejectWithValue }) {
685
- var _b, _c, _d, _e;
686
685
  const state = getState();
687
686
  let newDevices = [];
688
687
  let oldDevices = [];
@@ -698,19 +697,29 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
698
697
  if (!shouldHandleDeviceUpdate) {
699
698
  return { devices: newDevices };
700
699
  }
701
- const { changedDevices, addedDevices } = getUpdatedDevices({
700
+ const { currentCameraDeviceId, currentMicrophoneDeviceId, currentSpeakerDeviceId } = state.localMedia;
701
+ const { changedDevices, removedDevices } = getUpdatedDevices({
702
702
  oldDevices,
703
703
  newDevices,
704
+ currentVideoId: currentCameraDeviceId,
705
+ currentAudioId: currentMicrophoneDeviceId,
706
+ currentSpeakerId: currentSpeakerDeviceId,
704
707
  });
705
- let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
706
- let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
707
- if (autoSwitchAudioId === undefined) {
708
- autoSwitchAudioId = (_d = addedDevices.audioinput) === null || _d === void 0 ? void 0 : _d.deviceId;
708
+ let autoSwitchAudioId;
709
+ let autoSwitchVideoId;
710
+ if (removedDevices.audioinput) {
711
+ autoSwitchAudioId = true;
709
712
  }
710
- if (autoSwitchVideoId === undefined) {
711
- autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
713
+ if (removedDevices.videoinput) {
714
+ autoSwitchVideoId = true;
712
715
  }
713
- if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
716
+ if (!autoSwitchAudioId && changedDevices.audioinput) {
717
+ autoSwitchAudioId = changedDevices.audioinput.deviceId;
718
+ }
719
+ if (!autoSwitchVideoId && changedDevices.videoinput) {
720
+ autoSwitchVideoId = changedDevices.videoinput.deviceId;
721
+ }
722
+ if (autoSwitchAudioId || autoSwitchVideoId) {
714
723
  dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
715
724
  }
716
725
  return { devices: newDevices };
@@ -728,28 +737,29 @@ const doSwitchLocalStream = createAppAsyncThunk("localMedia/doSwitchLocalStream"
728
737
  return;
729
738
  }
730
739
  const beforeEffectTracks = selectLocalMediaBeforeEffectTracks(state);
731
- if (audioId !== undefined && (beforeEffectTracks === null || beforeEffectTracks === void 0 ? void 0 : beforeEffectTracks.audio)) {
740
+ if (audioId && (beforeEffectTracks === null || beforeEffectTracks === void 0 ? void 0 : beforeEffectTracks.audio)) {
732
741
  beforeEffectTracks.audio.stop();
733
742
  beforeEffectTracks.audio = undefined;
734
743
  }
735
- if (videoId !== undefined && (beforeEffectTracks === null || beforeEffectTracks === void 0 ? void 0 : beforeEffectTracks.video)) {
744
+ if (videoId && (beforeEffectTracks === null || beforeEffectTracks === void 0 ? void 0 : beforeEffectTracks.video)) {
736
745
  beforeEffectTracks.video.stop();
737
746
  beforeEffectTracks.video = undefined;
738
747
  }
739
748
  try {
740
- const { replacedTracks } = yield getStream(Object.assign(Object.assign({}, constraintsOptions), { audioId: audioId === undefined ? false : audioId, videoId: videoId === undefined ? false : videoId, type: "exact" }), { replaceStream });
741
- const deviceId = audioId || videoId;
742
- if (onlySwitchingOne && deviceId) {
743
- dispatch(deviceBusy({
744
- deviceId,
745
- }));
749
+ const { replacedTracks, error } = yield getStream(Object.assign(Object.assign({}, constraintsOptions), { audioId: audioId || false, videoId: videoId || false, type: "exact" }), { replaceStream });
750
+ if (error) {
751
+ const deviceId = audioId || videoId;
752
+ if (onlySwitchingOne && typeof deviceId === "string") {
753
+ dispatch(deviceBusy({
754
+ deviceId,
755
+ }));
756
+ }
746
757
  }
747
758
  return { replacedTracks, beforeEffectTracks };
748
759
  }
749
760
  catch (error) {
750
- console.error(error);
751
761
  const deviceId = audioId || videoId;
752
- if (onlySwitchingOne && deviceId) {
762
+ if (onlySwitchingOne && typeof deviceId === "string") {
753
763
  dispatch(deviceBusy({
754
764
  deviceId,
755
765
  }));
@@ -889,13 +899,17 @@ createReactor([selectLocalMediaShouldStartWithOptions], ({ dispatch }, options)
889
899
  dispatch(doStartLocalMedia(options));
890
900
  }
891
901
  });
892
- const selectLocalMediaShouldStop = createSelector(selectAppIsActive, selectLocalMediaStatus, selectLocalMediaOptions, (appIsActive, localMediaStatus, localMediaOptions) => {
893
- return !appIsActive && localMediaStatus !== "inactive" && !!localMediaOptions;
894
- });
895
- createReactor([selectLocalMediaShouldStop], ({ dispatch }, localMediaShouldStop) => {
896
- if (localMediaShouldStop) {
902
+ startAppListening({
903
+ predicate: (_action, currentState, previousState) => {
904
+ const oldValue = selectAppIsActive(previousState);
905
+ const newValue = selectAppIsActive(currentState);
906
+ const localMediaOptions = selectLocalMediaOptions(currentState);
907
+ const localMediaStatus = selectLocalMediaStatus(currentState);
908
+ return (oldValue === true && newValue === false) && localMediaStatus !== "inactive" && !!localMediaOptions;
909
+ },
910
+ effect: (_, { dispatch }) => {
897
911
  dispatch(doStopLocalMedia());
898
- }
912
+ },
899
913
  });
900
914
  startAppListening({
901
915
  predicate: (_action, currentState, previousState) => {
@@ -936,10 +950,25 @@ startAppListening({
936
950
  });
937
951
  startAppListening({
938
952
  predicate: (_action, currentState, previousState) => {
939
- const oldValue = selectCurrentCameraDeviceId(previousState);
940
- const newValue = selectCurrentCameraDeviceId(currentState);
953
+ var _a, _b;
954
+ const oldDeviceId = selectCurrentCameraDeviceId(previousState);
955
+ const newDeviceId = selectCurrentCameraDeviceId(currentState);
941
956
  const isReady = selectLocalMediaStatus(previousState) === "started";
942
- return isReady && oldValue !== newValue;
957
+ const isSwitchingStream = selectLocalMediaIsSwitchingStream(currentState);
958
+ if (isSwitchingStream) {
959
+ return false;
960
+ }
961
+ if (!newDeviceId) {
962
+ return false;
963
+ }
964
+ const currentTrack = (_b = (_a = selectLocalMediaStream(currentState)) === null || _a === void 0 ? void 0 : _a.getVideoTracks()) === null || _b === void 0 ? void 0 : _b[0];
965
+ if (currentTrack && currentTrack.readyState === "live") {
966
+ const currentDeviceId = currentTrack.getSettings().deviceId;
967
+ if (currentDeviceId === newDeviceId) {
968
+ return false;
969
+ }
970
+ }
971
+ return isReady && oldDeviceId !== newDeviceId;
943
972
  },
944
973
  effect: (_action, { dispatch }) => {
945
974
  dispatch(doSetDevice({ audio: false, video: true }));
@@ -947,10 +976,25 @@ startAppListening({
947
976
  });
948
977
  startAppListening({
949
978
  predicate: (_action, currentState, previousState) => {
950
- const oldValue = selectCurrentMicrophoneDeviceId(previousState);
951
- const newValue = selectCurrentMicrophoneDeviceId(currentState);
979
+ var _a, _b;
980
+ const oldDeviceId = selectCurrentMicrophoneDeviceId(previousState);
981
+ const newDeviceId = selectCurrentMicrophoneDeviceId(currentState);
952
982
  const isReady = selectLocalMediaStatus(previousState) === "started";
953
- return isReady && oldValue !== newValue;
983
+ const isSwitchingStream = selectLocalMediaIsSwitchingStream(currentState);
984
+ if (isSwitchingStream) {
985
+ return false;
986
+ }
987
+ if (!newDeviceId) {
988
+ return false;
989
+ }
990
+ const currentTrack = (_b = (_a = selectLocalMediaStream(currentState)) === null || _a === void 0 ? void 0 : _a.getVideoTracks()) === null || _b === void 0 ? void 0 : _b[0];
991
+ if (currentTrack && currentTrack.readyState === "live") {
992
+ const currentDeviceId = currentTrack.getSettings().deviceId;
993
+ if (currentDeviceId === newDeviceId) {
994
+ return false;
995
+ }
996
+ }
997
+ return isReady && oldDeviceId !== newDeviceId;
954
998
  },
955
999
  effect: (_action, { dispatch }) => {
956
1000
  dispatch(doSetDevice({ audio: true, video: false }));
@@ -1782,15 +1826,6 @@ startAppListening({
1782
1826
  },
1783
1827
  });
1784
1828
 
1785
- function isDeferrable({ client, breakoutCurrentId }) {
1786
- if (!client)
1787
- return false;
1788
- if (!breakoutCurrentId && client.breakoutGroup)
1789
- return true;
1790
- if (!client.isAudioEnabled && !client.isVideoEnabled)
1791
- return true;
1792
- return false;
1793
- }
1794
1829
  const createWebRtcEmitter = (dispatch) => {
1795
1830
  return {
1796
1831
  emit: (eventName, data) => {
@@ -1878,22 +1913,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
1878
1913
  const state = getState();
1879
1914
  const socket = selectSignalConnectionRaw(state).socket;
1880
1915
  const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
1881
- const isCameraEnabled = selectIsCameraEnabled(state);
1882
- const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
1883
1916
  const isNodeSdk = selectAppIsNodeSdk(state);
1884
1917
  if (dispatcher || !socket) {
1885
1918
  return;
1886
1919
  }
1887
1920
  const webrtcProvider = {
1888
- getMediaConstraints: () => ({
1889
- audio: isMicrophoneEnabled,
1890
- video: isCameraEnabled,
1891
- }),
1892
- deferrable(clientId) {
1893
- const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
1894
- const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
1895
- return isDeferrable({ client, breakoutCurrentId });
1896
- },
1921
+ getMediaConstraints: () => selectLocalMediaConstraintsOptions(state),
1897
1922
  };
1898
1923
  const rtcManagerDispatcher = new RtcManagerDispatcher({
1899
1924
  emitter: createWebRtcEmitter(dispatch),
@@ -4017,4 +4042,4 @@ function createServices() {
4017
4042
  };
4018
4043
  }
4019
4044
 
4020
- export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$1 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, 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, 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, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, 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, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
4045
+ export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$1 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, 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, 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, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, 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, 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.9.0",
5
+ "version": "1.9.2",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -58,15 +58,15 @@
58
58
  "eslint": "^9.29.0",
59
59
  "prettier": "^3.5.3",
60
60
  "typescript": "^5.8.3",
61
- "@whereby.com/eslint-config": "0.1.0",
62
61
  "@whereby.com/jest-config": "0.1.0",
63
62
  "@whereby.com/prettier-config": "0.1.0",
63
+ "@whereby.com/rollup-config": "0.1.1",
64
64
  "@whereby.com/tsconfig": "0.1.0",
65
- "@whereby.com/rollup-config": "0.1.1"
65
+ "@whereby.com/eslint-config": "0.1.0"
66
66
  },
67
67
  "dependencies": {
68
68
  "@reduxjs/toolkit": "^2.2.3",
69
- "@whereby.com/media": "5.0.1",
69
+ "@whereby.com/media": "6.0.0",
70
70
  "axios": "^1.11.0",
71
71
  "btoa": "^1.2.1",
72
72
  "events": "^3.3.0"