@whereby.com/core 0.11.1 → 0.12.1
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 +12 -19
- package/dist/index.d.cts +3 -4
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.mjs +13 -19
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ const createReactor = (selectors, callback) => {
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
const coreVersion = "0.
|
|
48
|
+
const coreVersion = "0.12.1";
|
|
49
49
|
|
|
50
50
|
const initialState$d = {
|
|
51
51
|
isNodeSdk: false,
|
|
@@ -241,7 +241,7 @@ const signalConnectionSlice = toolkit.createSlice({
|
|
|
241
241
|
return Object.assign(Object.assign({}, state), { socket: action.payload, status: "connected" });
|
|
242
242
|
},
|
|
243
243
|
socketDisconnected: (state) => {
|
|
244
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected" });
|
|
244
|
+
return Object.assign(Object.assign({}, state), { deviceIdentified: false, status: "disconnected" });
|
|
245
245
|
},
|
|
246
246
|
socketReconnecting: (state) => {
|
|
247
247
|
return Object.assign(Object.assign({}, state), { status: "reconnect" });
|
|
@@ -255,11 +255,11 @@ const signalConnectionSlice = toolkit.createSlice({
|
|
|
255
255
|
},
|
|
256
256
|
extraReducers: (builder) => {
|
|
257
257
|
builder.addCase(signalEvents.disconnect, (state) => {
|
|
258
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected" });
|
|
258
|
+
return Object.assign(Object.assign({}, state), { deviceIdentified: false, status: "disconnected" });
|
|
259
259
|
});
|
|
260
260
|
},
|
|
261
261
|
});
|
|
262
|
-
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected } = signalConnectionSlice.actions;
|
|
262
|
+
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
263
263
|
const doSignalSocketConnect = createAppThunk(() => {
|
|
264
264
|
return (dispatch, getState) => {
|
|
265
265
|
if (selectSignalConnectionSocket(getState())) {
|
|
@@ -269,7 +269,7 @@ const doSignalSocketConnect = createAppThunk(() => {
|
|
|
269
269
|
const socket = createSocket();
|
|
270
270
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
271
271
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
272
|
-
socket.getManager().on("reconnect", () => dispatch(
|
|
272
|
+
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
273
273
|
forwardSocketEvents(socket, dispatch);
|
|
274
274
|
socket.connect();
|
|
275
275
|
};
|
|
@@ -277,9 +277,13 @@ const doSignalSocketConnect = createAppThunk(() => {
|
|
|
277
277
|
const doSignalIdentifyDevice = createAppThunk(({ deviceCredentials }) => (dispatch, getState) => {
|
|
278
278
|
const state = getState();
|
|
279
279
|
const signalSocket = selectSignalConnectionSocket(state);
|
|
280
|
+
const deviceIdentified = selectSignalConnectionDeviceIdentified(state);
|
|
280
281
|
if (!signalSocket) {
|
|
281
282
|
return;
|
|
282
283
|
}
|
|
284
|
+
if (deviceIdentified) {
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
283
287
|
signalSocket.emit("identify_device", { deviceCredentials });
|
|
284
288
|
dispatch(deviceIdentifying());
|
|
285
289
|
});
|
|
@@ -289,14 +293,6 @@ const doSignalDisconnect = createAppThunk(() => (dispatch, getState) => {
|
|
|
289
293
|
socket === null || socket === void 0 ? void 0 : socket.disconnect();
|
|
290
294
|
dispatch(socketDisconnected());
|
|
291
295
|
});
|
|
292
|
-
const doSignalReconnect = createAppThunk(() => (dispatch, getState) => {
|
|
293
|
-
const deviceCredentialsRaw = selectDeviceCredentialsRaw(getState());
|
|
294
|
-
dispatch(socketReconnecting());
|
|
295
|
-
if (deviceCredentialsRaw.data) {
|
|
296
|
-
dispatch(doSignalIdentifyDevice({ deviceCredentials: deviceCredentialsRaw.data }));
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
const { socketReconnecting } = signalConnectionSlice.actions;
|
|
300
296
|
const selectSignalConnectionRaw = (state) => state.signalConnection;
|
|
301
297
|
const selectSignalIsIdentifyingDevice = (state) => state.signalConnection.isIdentifyingDevice;
|
|
302
298
|
const selectSignalConnectionDeviceIdentified = (state) => state.signalConnection.deviceIdentified;
|
|
@@ -1519,7 +1515,6 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
|
|
|
1519
1515
|
organizationId,
|
|
1520
1516
|
roomKey,
|
|
1521
1517
|
roomName,
|
|
1522
|
-
selfId: "",
|
|
1523
1518
|
userAgent,
|
|
1524
1519
|
externalId,
|
|
1525
1520
|
});
|
|
@@ -1536,16 +1531,15 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
|
|
|
1536
1531
|
const organizationId = selectOrganizationId(state);
|
|
1537
1532
|
const isCameraEnabled = selectIsCameraEnabled(getState());
|
|
1538
1533
|
const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
|
|
1539
|
-
const selfId = selectSelfId(getState());
|
|
1540
1534
|
const clientClaim = selectLocalParticipantClientClaim(getState());
|
|
1541
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign(
|
|
1535
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
|
|
1542
1536
|
isAudioEnabled: isMicrophoneEnabled,
|
|
1543
1537
|
isVideoEnabled: isCameraEnabled,
|
|
1544
1538
|
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
1545
1539
|
roomKey,
|
|
1546
1540
|
roomName,
|
|
1547
|
-
|
|
1548
|
-
externalId }));
|
|
1541
|
+
userAgent,
|
|
1542
|
+
externalId }, (clientClaim && { clientClaim })));
|
|
1549
1543
|
dispatch(connectionStatusChanged("connecting"));
|
|
1550
1544
|
});
|
|
1551
1545
|
const selectRoomConnectionRaw = (state) => state.roomConnection;
|
|
@@ -3222,7 +3216,6 @@ exports.doSetDisplayName = doSetDisplayName;
|
|
|
3222
3216
|
exports.doSetLocalParticipant = doSetLocalParticipant;
|
|
3223
3217
|
exports.doSignalDisconnect = doSignalDisconnect;
|
|
3224
3218
|
exports.doSignalIdentifyDevice = doSignalIdentifyDevice;
|
|
3225
|
-
exports.doSignalReconnect = doSignalReconnect;
|
|
3226
3219
|
exports.doSignalSocketConnect = doSignalSocketConnect;
|
|
3227
3220
|
exports.doStartCloudRecording = doStartCloudRecording;
|
|
3228
3221
|
exports.doStartLocalMedia = doStartLocalMedia;
|
package/dist/index.d.cts
CHANGED
|
@@ -4425,8 +4425,8 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
|
|
|
4425
4425
|
} | undefined;
|
|
4426
4426
|
} | null;
|
|
4427
4427
|
}) => {
|
|
4428
|
+
deviceIdentified: false;
|
|
4428
4429
|
status: "disconnected";
|
|
4429
|
-
deviceIdentified: boolean;
|
|
4430
4430
|
isIdentifyingDevice: boolean;
|
|
4431
4431
|
socket: {
|
|
4432
4432
|
_socket: any;
|
|
@@ -5148,13 +5148,12 @@ declare const deviceIdentified: _reduxjs_toolkit.ActionCreatorWithoutPayload<"si
|
|
|
5148
5148
|
declare const socketConnected: _reduxjs_toolkit.ActionCreatorWithPayload<ServerSocket, "signalConnection/socketConnected">;
|
|
5149
5149
|
declare const socketConnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketConnecting">;
|
|
5150
5150
|
declare const socketDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketDisconnected">;
|
|
5151
|
+
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5151
5152
|
declare const doSignalSocketConnect: (args: void) => AppThunk<void>;
|
|
5152
5153
|
declare const doSignalIdentifyDevice: (args: {
|
|
5153
5154
|
deviceCredentials: Credentials;
|
|
5154
5155
|
}) => AppThunk<void>;
|
|
5155
5156
|
declare const doSignalDisconnect: (args: void) => AppThunk<void>;
|
|
5156
|
-
declare const doSignalReconnect: (args: void) => AppThunk<void>;
|
|
5157
|
-
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5158
5157
|
declare const selectSignalConnectionRaw: (state: RootState) => SignalConnectionState;
|
|
5159
5158
|
declare const selectSignalIsIdentifyingDevice: (state: RootState) => boolean;
|
|
5160
5159
|
declare const selectSignalConnectionDeviceIdentified: (state: RootState) => boolean;
|
|
@@ -5479,4 +5478,4 @@ declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttri
|
|
|
5479
5478
|
|
|
5480
5479
|
declare function parseUnverifiedRoomKeyData(roomKey: string): any;
|
|
5481
5480
|
|
|
5482
|
-
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice,
|
|
5481
|
+
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice, doSignalSocketConnect, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doUpdateDeviceList, fakeAudioStream, fakeWebcamFrame, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAppWantsToJoin, selectAuthorizationRoomKey, selectAuthorizationRoomLocked, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantRole, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
|
package/dist/index.d.mts
CHANGED
|
@@ -4425,8 +4425,8 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
|
|
|
4425
4425
|
} | undefined;
|
|
4426
4426
|
} | null;
|
|
4427
4427
|
}) => {
|
|
4428
|
+
deviceIdentified: false;
|
|
4428
4429
|
status: "disconnected";
|
|
4429
|
-
deviceIdentified: boolean;
|
|
4430
4430
|
isIdentifyingDevice: boolean;
|
|
4431
4431
|
socket: {
|
|
4432
4432
|
_socket: any;
|
|
@@ -5148,13 +5148,12 @@ declare const deviceIdentified: _reduxjs_toolkit.ActionCreatorWithoutPayload<"si
|
|
|
5148
5148
|
declare const socketConnected: _reduxjs_toolkit.ActionCreatorWithPayload<ServerSocket, "signalConnection/socketConnected">;
|
|
5149
5149
|
declare const socketConnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketConnecting">;
|
|
5150
5150
|
declare const socketDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketDisconnected">;
|
|
5151
|
+
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5151
5152
|
declare const doSignalSocketConnect: (args: void) => AppThunk<void>;
|
|
5152
5153
|
declare const doSignalIdentifyDevice: (args: {
|
|
5153
5154
|
deviceCredentials: Credentials;
|
|
5154
5155
|
}) => AppThunk<void>;
|
|
5155
5156
|
declare const doSignalDisconnect: (args: void) => AppThunk<void>;
|
|
5156
|
-
declare const doSignalReconnect: (args: void) => AppThunk<void>;
|
|
5157
|
-
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5158
5157
|
declare const selectSignalConnectionRaw: (state: RootState) => SignalConnectionState;
|
|
5159
5158
|
declare const selectSignalIsIdentifyingDevice: (state: RootState) => boolean;
|
|
5160
5159
|
declare const selectSignalConnectionDeviceIdentified: (state: RootState) => boolean;
|
|
@@ -5479,4 +5478,4 @@ declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttri
|
|
|
5479
5478
|
|
|
5480
5479
|
declare function parseUnverifiedRoomKeyData(roomKey: string): any;
|
|
5481
5480
|
|
|
5482
|
-
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice,
|
|
5481
|
+
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice, doSignalSocketConnect, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doUpdateDeviceList, fakeAudioStream, fakeWebcamFrame, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAppWantsToJoin, selectAuthorizationRoomKey, selectAuthorizationRoomLocked, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantRole, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
|
package/dist/index.d.ts
CHANGED
|
@@ -4425,8 +4425,8 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
|
|
|
4425
4425
|
} | undefined;
|
|
4426
4426
|
} | null;
|
|
4427
4427
|
}) => {
|
|
4428
|
+
deviceIdentified: false;
|
|
4428
4429
|
status: "disconnected";
|
|
4429
|
-
deviceIdentified: boolean;
|
|
4430
4430
|
isIdentifyingDevice: boolean;
|
|
4431
4431
|
socket: {
|
|
4432
4432
|
_socket: any;
|
|
@@ -5148,13 +5148,12 @@ declare const deviceIdentified: _reduxjs_toolkit.ActionCreatorWithoutPayload<"si
|
|
|
5148
5148
|
declare const socketConnected: _reduxjs_toolkit.ActionCreatorWithPayload<ServerSocket, "signalConnection/socketConnected">;
|
|
5149
5149
|
declare const socketConnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketConnecting">;
|
|
5150
5150
|
declare const socketDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketDisconnected">;
|
|
5151
|
+
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5151
5152
|
declare const doSignalSocketConnect: (args: void) => AppThunk<void>;
|
|
5152
5153
|
declare const doSignalIdentifyDevice: (args: {
|
|
5153
5154
|
deviceCredentials: Credentials;
|
|
5154
5155
|
}) => AppThunk<void>;
|
|
5155
5156
|
declare const doSignalDisconnect: (args: void) => AppThunk<void>;
|
|
5156
|
-
declare const doSignalReconnect: (args: void) => AppThunk<void>;
|
|
5157
|
-
declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
|
|
5158
5157
|
declare const selectSignalConnectionRaw: (state: RootState) => SignalConnectionState;
|
|
5159
5158
|
declare const selectSignalIsIdentifyingDevice: (state: RootState) => boolean;
|
|
5160
5159
|
declare const selectSignalConnectionDeviceIdentified: (state: RootState) => boolean;
|
|
@@ -5479,4 +5478,4 @@ declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttri
|
|
|
5479
5478
|
|
|
5480
5479
|
declare function parseUnverifiedRoomKeyData(roomKey: string): any;
|
|
5481
5480
|
|
|
5482
|
-
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice,
|
|
5481
|
+
export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice, doSignalSocketConnect, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doUpdateDeviceList, fakeAudioStream, fakeWebcamFrame, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAppWantsToJoin, selectAuthorizationRoomKey, selectAuthorizationRoomLocked, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantRole, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
|
package/dist/index.mjs
CHANGED
|
@@ -43,7 +43,7 @@ const createReactor = (selectors, callback) => {
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
const coreVersion = "0.
|
|
46
|
+
const coreVersion = "0.12.1";
|
|
47
47
|
|
|
48
48
|
const initialState$d = {
|
|
49
49
|
isNodeSdk: false,
|
|
@@ -239,7 +239,7 @@ const signalConnectionSlice = createSlice({
|
|
|
239
239
|
return Object.assign(Object.assign({}, state), { socket: action.payload, status: "connected" });
|
|
240
240
|
},
|
|
241
241
|
socketDisconnected: (state) => {
|
|
242
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected" });
|
|
242
|
+
return Object.assign(Object.assign({}, state), { deviceIdentified: false, status: "disconnected" });
|
|
243
243
|
},
|
|
244
244
|
socketReconnecting: (state) => {
|
|
245
245
|
return Object.assign(Object.assign({}, state), { status: "reconnect" });
|
|
@@ -253,11 +253,11 @@ const signalConnectionSlice = createSlice({
|
|
|
253
253
|
},
|
|
254
254
|
extraReducers: (builder) => {
|
|
255
255
|
builder.addCase(signalEvents.disconnect, (state) => {
|
|
256
|
-
return Object.assign(Object.assign({}, state), { status: "disconnected" });
|
|
256
|
+
return Object.assign(Object.assign({}, state), { deviceIdentified: false, status: "disconnected" });
|
|
257
257
|
});
|
|
258
258
|
},
|
|
259
259
|
});
|
|
260
|
-
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected } = signalConnectionSlice.actions;
|
|
260
|
+
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
261
261
|
const doSignalSocketConnect = createAppThunk(() => {
|
|
262
262
|
return (dispatch, getState) => {
|
|
263
263
|
if (selectSignalConnectionSocket(getState())) {
|
|
@@ -267,7 +267,7 @@ const doSignalSocketConnect = createAppThunk(() => {
|
|
|
267
267
|
const socket = createSocket();
|
|
268
268
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
269
269
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
270
|
-
socket.getManager().on("reconnect", () => dispatch(
|
|
270
|
+
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
271
271
|
forwardSocketEvents(socket, dispatch);
|
|
272
272
|
socket.connect();
|
|
273
273
|
};
|
|
@@ -275,9 +275,13 @@ const doSignalSocketConnect = createAppThunk(() => {
|
|
|
275
275
|
const doSignalIdentifyDevice = createAppThunk(({ deviceCredentials }) => (dispatch, getState) => {
|
|
276
276
|
const state = getState();
|
|
277
277
|
const signalSocket = selectSignalConnectionSocket(state);
|
|
278
|
+
const deviceIdentified = selectSignalConnectionDeviceIdentified(state);
|
|
278
279
|
if (!signalSocket) {
|
|
279
280
|
return;
|
|
280
281
|
}
|
|
282
|
+
if (deviceIdentified) {
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
281
285
|
signalSocket.emit("identify_device", { deviceCredentials });
|
|
282
286
|
dispatch(deviceIdentifying());
|
|
283
287
|
});
|
|
@@ -287,14 +291,6 @@ const doSignalDisconnect = createAppThunk(() => (dispatch, getState) => {
|
|
|
287
291
|
socket === null || socket === void 0 ? void 0 : socket.disconnect();
|
|
288
292
|
dispatch(socketDisconnected());
|
|
289
293
|
});
|
|
290
|
-
const doSignalReconnect = createAppThunk(() => (dispatch, getState) => {
|
|
291
|
-
const deviceCredentialsRaw = selectDeviceCredentialsRaw(getState());
|
|
292
|
-
dispatch(socketReconnecting());
|
|
293
|
-
if (deviceCredentialsRaw.data) {
|
|
294
|
-
dispatch(doSignalIdentifyDevice({ deviceCredentials: deviceCredentialsRaw.data }));
|
|
295
|
-
}
|
|
296
|
-
});
|
|
297
|
-
const { socketReconnecting } = signalConnectionSlice.actions;
|
|
298
294
|
const selectSignalConnectionRaw = (state) => state.signalConnection;
|
|
299
295
|
const selectSignalIsIdentifyingDevice = (state) => state.signalConnection.isIdentifyingDevice;
|
|
300
296
|
const selectSignalConnectionDeviceIdentified = (state) => state.signalConnection.deviceIdentified;
|
|
@@ -1517,7 +1513,6 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
|
|
|
1517
1513
|
organizationId,
|
|
1518
1514
|
roomKey,
|
|
1519
1515
|
roomName,
|
|
1520
|
-
selfId: "",
|
|
1521
1516
|
userAgent,
|
|
1522
1517
|
externalId,
|
|
1523
1518
|
});
|
|
@@ -1534,16 +1529,15 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
|
|
|
1534
1529
|
const organizationId = selectOrganizationId(state);
|
|
1535
1530
|
const isCameraEnabled = selectIsCameraEnabled(getState());
|
|
1536
1531
|
const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
|
|
1537
|
-
const selfId = selectSelfId(getState());
|
|
1538
1532
|
const clientClaim = selectLocalParticipantClientClaim(getState());
|
|
1539
|
-
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign(
|
|
1533
|
+
socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
|
|
1540
1534
|
isAudioEnabled: isMicrophoneEnabled,
|
|
1541
1535
|
isVideoEnabled: isCameraEnabled,
|
|
1542
1536
|
}, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
|
|
1543
1537
|
roomKey,
|
|
1544
1538
|
roomName,
|
|
1545
|
-
|
|
1546
|
-
externalId }));
|
|
1539
|
+
userAgent,
|
|
1540
|
+
externalId }, (clientClaim && { clientClaim })));
|
|
1547
1541
|
dispatch(connectionStatusChanged("connecting"));
|
|
1548
1542
|
});
|
|
1549
1543
|
const selectRoomConnectionRaw = (state) => state.roomConnection;
|
|
@@ -3168,4 +3162,4 @@ function createServices() {
|
|
|
3168
3162
|
};
|
|
3169
3163
|
}
|
|
3170
3164
|
|
|
3171
|
-
export { ApiClient, Credentials, CredentialsService, LocalParticipant, OrganizationApiClient, OrganizationService, OrganizationServiceCache, RoomService, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice,
|
|
3165
|
+
export { ApiClient, Credentials, CredentialsService, LocalParticipant, OrganizationApiClient, OrganizationService, OrganizationServiceCache, RoomService, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice, doSignalSocketConnect, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doUpdateDeviceList, fakeAudioStream, fakeWebcamFrame, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAppWantsToJoin, selectAuthorizationRoomKey, selectAuthorizationRoomLocked, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantRole, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
|
package/package.json
CHANGED