@whereby.com/core 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +13 -18
- 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 +14 -18
- 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.0";
|
|
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;
|
|
@@ -1427,9 +1423,9 @@ const selectScreenshares = toolkit.createSelector(selectLocalScreenshareStream,
|
|
|
1427
1423
|
const screenshares = [];
|
|
1428
1424
|
if (localScreenshareStream) {
|
|
1429
1425
|
screenshares.push({
|
|
1430
|
-
id: localScreenshareStream.id,
|
|
1426
|
+
id: localScreenshareStream.id || "local-screenshare",
|
|
1431
1427
|
participantId: "local",
|
|
1432
|
-
hasAudioTrack: localScreenshareStream.
|
|
1428
|
+
hasAudioTrack: localScreenshareStream.getTracks().some((track) => track.kind === "audio"),
|
|
1433
1429
|
stream: localScreenshareStream,
|
|
1434
1430
|
isLocal: true,
|
|
1435
1431
|
});
|
|
@@ -1437,9 +1433,9 @@ const selectScreenshares = toolkit.createSelector(selectLocalScreenshareStream,
|
|
|
1437
1433
|
for (const participant of remoteParticipants) {
|
|
1438
1434
|
if (participant.presentationStream) {
|
|
1439
1435
|
screenshares.push({
|
|
1440
|
-
id: participant.presentationStream.id
|
|
1436
|
+
id: participant.presentationStream.id || `pres-${participant.id}`,
|
|
1441
1437
|
participantId: participant.id,
|
|
1442
|
-
hasAudioTrack: participant.presentationStream.
|
|
1438
|
+
hasAudioTrack: participant.presentationStream.getTracks().some((track) => track.kind === "audio"),
|
|
1443
1439
|
stream: participant.presentationStream,
|
|
1444
1440
|
isLocal: false,
|
|
1445
1441
|
});
|
|
@@ -3222,7 +3218,6 @@ exports.doSetDisplayName = doSetDisplayName;
|
|
|
3222
3218
|
exports.doSetLocalParticipant = doSetLocalParticipant;
|
|
3223
3219
|
exports.doSignalDisconnect = doSignalDisconnect;
|
|
3224
3220
|
exports.doSignalIdentifyDevice = doSignalIdentifyDevice;
|
|
3225
|
-
exports.doSignalReconnect = doSignalReconnect;
|
|
3226
3221
|
exports.doSignalSocketConnect = doSignalSocketConnect;
|
|
3227
3222
|
exports.doStartCloudRecording = doStartCloudRecording;
|
|
3228
3223
|
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.0";
|
|
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;
|
|
@@ -1425,9 +1421,9 @@ const selectScreenshares = createSelector(selectLocalScreenshareStream, selectRe
|
|
|
1425
1421
|
const screenshares = [];
|
|
1426
1422
|
if (localScreenshareStream) {
|
|
1427
1423
|
screenshares.push({
|
|
1428
|
-
id: localScreenshareStream.id,
|
|
1424
|
+
id: localScreenshareStream.id || "local-screenshare",
|
|
1429
1425
|
participantId: "local",
|
|
1430
|
-
hasAudioTrack: localScreenshareStream.
|
|
1426
|
+
hasAudioTrack: localScreenshareStream.getTracks().some((track) => track.kind === "audio"),
|
|
1431
1427
|
stream: localScreenshareStream,
|
|
1432
1428
|
isLocal: true,
|
|
1433
1429
|
});
|
|
@@ -1435,9 +1431,9 @@ const selectScreenshares = createSelector(selectLocalScreenshareStream, selectRe
|
|
|
1435
1431
|
for (const participant of remoteParticipants) {
|
|
1436
1432
|
if (participant.presentationStream) {
|
|
1437
1433
|
screenshares.push({
|
|
1438
|
-
id: participant.presentationStream.id
|
|
1434
|
+
id: participant.presentationStream.id || `pres-${participant.id}`,
|
|
1439
1435
|
participantId: participant.id,
|
|
1440
|
-
hasAudioTrack: participant.presentationStream.
|
|
1436
|
+
hasAudioTrack: participant.presentationStream.getTracks().some((track) => track.kind === "audio"),
|
|
1441
1437
|
stream: participant.presentationStream,
|
|
1442
1438
|
isLocal: false,
|
|
1443
1439
|
});
|
|
@@ -3168,4 +3164,4 @@ function createServices() {
|
|
|
3168
3164
|
};
|
|
3169
3165
|
}
|
|
3170
3166
|
|
|
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,
|
|
3167
|
+
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