@whereby.com/core 1.20.2 → 1.21.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.
@@ -5,7 +5,7 @@ import { AxiosRequestConfig } from 'axios';
5
5
  import { EventEmitter } from 'events';
6
6
  import * as redux from 'redux';
7
7
  import * as _whereby_com_media from '@whereby.com/media';
8
- import { LiveCaptionEvent, RoleName, ChatMessage as ChatMessage$1, ChatFileShare, FileShareErrorCode, BreakoutConfig, getDeviceData, SignalClient, RtcStreamAddedPayload, AudioEnableRequest, VideoEnableRequest, RoomMode, KnockResponse, RtcManagerCreatedPayload, RtcClientConnectionStatusChangedPayload, RtcManager, RtcManagerDispatcher, RtcEvents, AudioEnabledEvent, AudioEnableRequestedEvent, BreakoutGroupJoinedEvent, BreakoutSessionUpdatedEvent, ChatMessageRemoved, ChatMessageError, ClientLeftEvent, ClientKickedEvent, ClientMetadataReceivedEvent, ClientUnableToJoinEvent, CloudRecordingStartedEvent, KnockerLeftEvent, KnockAcceptedEvent, KnockOnHoldEvent, KnockRejectedEvent, NewClientEvent, RoomJoinedEvent, RoomKnockedEvent, RoomLockedEvent, RoomSessionEndedEvent, ScreenshareStartedEvent, ScreenshareStoppedEvent, SpotlightAddedEvent, SpotlightRemovedEvent, VideoEnabledEvent, VideoEnableRequestedEvent, LiveTranscriptionStartedEvent, LiveTranscriptionStoppedEvent, LiveCaptionsStartedEvent, LiveCaptionsStoppedEvent, ServerSocket, Spotlight } from '@whereby.com/media';
8
+ import { LiveCaptionEvent, RoleName, ChatMessage as ChatMessage$1, ChatFileShare, FileShareErrorCode, BreakoutConfig, getDeviceData, SignalClient, RtcStreamAddedPayload, AudioEnableRequest, VideoEnableRequest, ScreenshareEnableRequest, RoomMode, KnockResponse, RtcManagerCreatedPayload, RtcClientConnectionStatusChangedPayload, RtcManager, RtcManagerDispatcher, RtcEvents, AudioEnabledEvent, AudioEnableRequestedEvent, BreakoutGroupJoinedEvent, BreakoutSessionUpdatedEvent, ChatMessageRemoved, ChatMessageError, ClientLeftEvent, ClientKickedEvent, ClientMetadataReceivedEvent, ClientUnableToJoinEvent, CloudRecordingStartedEvent, KnockerLeftEvent, KnockAcceptedEvent, KnockOnHoldEvent, KnockRejectedEvent, NewClientEvent, RoomJoinedEvent, RoomKnockedEvent, RoomLockedEvent, RoomSessionEndedEvent, ScreenshareStartedEvent, ScreenshareStoppedEvent, ScreenshareEnableRequestedEvent, SpotlightAddedEvent, SpotlightRemovedEvent, VideoEnabledEvent, VideoEnableRequestedEvent, LiveTranscriptionStartedEvent, LiveTranscriptionStoppedEvent, LiveCaptionsStartedEvent, LiveCaptionsStoppedEvent, ServerSocket, Spotlight } from '@whereby.com/media';
9
9
  import * as immer from 'immer';
10
10
  import * as reselect from 'reselect';
11
11
  import { Setup, Params } from '@whereby.com/camera-effects';
@@ -493,6 +493,11 @@ interface RequestVideoEventProps {
493
493
  enable: boolean;
494
494
  }
495
495
  type RequestVideoEvent = NotificationEvent<"requestVideoEnable" | "requestVideoDisable", RequestVideoEventProps>;
496
+ interface RequestScreenshareEventProps {
497
+ client: RemoteParticipant;
498
+ enable: boolean;
499
+ }
500
+ type RequestScreenshareEvent = NotificationEvent<"requestScreenshareEnable" | "requestScreenshareDisable", RequestScreenshareEventProps>;
496
501
  interface ChatMessageEventProps {
497
502
  client: RemoteParticipant;
498
503
  chatMessage: ChatMessage;
@@ -531,6 +536,8 @@ type NotificationEventTypes = {
531
536
  ["clientUnableToJoinFullRoom"]: SignalClientEvent;
532
537
  ["requestVideoEnable"]: RequestVideoEvent;
533
538
  ["requestVideoDisable"]: RequestVideoEvent;
539
+ ["requestScreenshareEnable"]: RequestScreenshareEvent;
540
+ ["requestScreenshareDisable"]: RequestScreenshareEvent;
534
541
  ["breakoutTimerEnding"]: BreakoutTimerEvent;
535
542
  ["breakoutTimerEnded"]: BreakoutTimerEvent;
536
543
  ["breakoutTimerExtended"]: BreakoutTimerEvent;
@@ -567,18 +574,26 @@ declare const selectNotificationsEvents: (state: RootState) => NotificationEvent
567
574
  declare const selectNotificationsEmitter: (state: RootState) => NotificationsEventEmitter;
568
575
 
569
576
  interface LocalScreenshareState {
570
- status: "inactive" | "starting" | "active";
571
- stream: MediaStream | null;
572
- error: unknown | null;
577
+ status: "inactive" | "starting" | "active" | "error";
578
+ stream?: MediaStream;
579
+ error?: unknown;
580
+ startedAt?: number;
573
581
  }
574
582
  declare const localScreenshareSliceInitialState: LocalScreenshareState;
575
583
  declare const localScreenshareSlice: _reduxjs_toolkit.Slice<LocalScreenshareState, {
576
- stopScreenshare(state: immer.WritableDraft<LocalScreenshareState>, action: PayloadAction<{
584
+ stopScreenshare: (state: immer.WritableDraft<LocalScreenshareState>, action: PayloadAction<{
577
585
  stream: MediaStream;
578
- }>): {
586
+ }>) => {
579
587
  status: "inactive";
580
- stream: null;
581
- error: unknown | null;
588
+ stream: undefined;
589
+ startedAt: undefined;
590
+ error: undefined;
591
+ };
592
+ stopScreenshareFailed: (state: immer.WritableDraft<LocalScreenshareState>) => {
593
+ status: "inactive";
594
+ stream: undefined;
595
+ startedAt: undefined;
596
+ error: undefined;
582
597
  };
583
598
  }, "localScreenshare", "localScreenshare", _reduxjs_toolkit.SliceSelectors<LocalScreenshareState>>;
584
599
  declare const stopScreenshare: _reduxjs_toolkit.ActionCreatorWithPayload<{
@@ -589,8 +604,10 @@ declare const doStartScreenshare: _reduxjs_toolkit.AsyncThunk<{
589
604
  }, undefined, ThunkConfig>;
590
605
  declare const doStopScreenshare: (args: void) => AppThunk;
591
606
  declare const selectLocalScreenshareRaw: (state: RootState) => LocalScreenshareState;
592
- declare const selectLocalScreenshareStatus: (state: RootState) => "active" | "inactive" | "starting";
593
- declare const selectLocalScreenshareStream: (state: RootState) => MediaStream | null;
607
+ declare const selectLocalScreenshareStatus: (state: RootState) => "error" | "active" | "inactive" | "starting";
608
+ declare const selectLocalScreenshareStream: (state: RootState) => MediaStream | undefined;
609
+ declare const selectLocalScreenshareStartedAt: (state: RootState) => number | undefined;
610
+ declare const selectLocalScreenshareError: (state: RootState) => unknown;
594
611
 
595
612
  interface LocalParticipantState extends LocalParticipant {
596
613
  roleName: RoleName;
@@ -1094,6 +1111,54 @@ declare const selectIsAuthorizedToRequestVideoEnable: ((state: {
1094
1111
  argsMemoize: typeof reselect.weakMapMemoize;
1095
1112
  memoize: typeof reselect.weakMapMemoize;
1096
1113
  };
1114
+ declare const selectIsAuthorizedToRequestScreenshareEnable: ((state: {
1115
+ app: AppState;
1116
+ audioDenoiser: AudioDenoiserState;
1117
+ authorization: AuthorizationState;
1118
+ breakout: BreakoutState;
1119
+ cameraEffects: CameraEffectsState;
1120
+ chat: ChatState;
1121
+ cloudRecording: CloudRecordingState;
1122
+ connectionMonitor: ConnectionMonitorState;
1123
+ deviceCredentials: DeviceCredentialsState;
1124
+ fileShare: FileShareState;
1125
+ liveCaptions: LiveCaptionsState;
1126
+ liveTranscription: LiveTranscriptionState;
1127
+ localMedia: LocalMediaState;
1128
+ localParticipant: LocalParticipantState;
1129
+ localScreenshare: LocalScreenshareState;
1130
+ notifications: NotificationsState;
1131
+ organization: OrganizationState;
1132
+ remoteParticipants: RemoteParticipantSliceState;
1133
+ room: RoomState;
1134
+ roomConnection: RoomConnectionState;
1135
+ rtcAnalytics: rtcAnalyticsState;
1136
+ rtcConnection: RtcConnectionState;
1137
+ signalConnection: SignalConnectionState;
1138
+ spotlights: SpotlightsState;
1139
+ streaming: StreamingState;
1140
+ waitingParticipants: WaitingParticipantsState;
1141
+ }) => boolean) & {
1142
+ clearCache: () => void;
1143
+ resultsCount: () => number;
1144
+ resetResultsCount: () => void;
1145
+ } & {
1146
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
1147
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
1148
+ clearCache: () => void;
1149
+ resultsCount: () => number;
1150
+ resetResultsCount: () => void;
1151
+ };
1152
+ lastResult: () => boolean;
1153
+ dependencies: [(state: RootState) => RoleName];
1154
+ recomputations: () => number;
1155
+ resetRecomputations: () => void;
1156
+ dependencyRecomputations: () => number;
1157
+ resetDependencyRecomputations: () => void;
1158
+ } & {
1159
+ argsMemoize: typeof reselect.weakMapMemoize;
1160
+ memoize: typeof reselect.weakMapMemoize;
1161
+ };
1097
1162
  declare const selectIsAuthorizedToKickClient: ((state: {
1098
1163
  app: AppState;
1099
1164
  audioDenoiser: AudioDenoiserState;
@@ -3042,6 +3107,7 @@ declare const participantStreamIdAdded: _reduxjs_toolkit.ActionCreatorWithPayloa
3042
3107
  declare const streamStatusUpdated: _reduxjs_toolkit.ActionCreatorWithPayload<StreamStatusUpdate[], "remoteParticipants/streamStatusUpdated">;
3043
3108
  declare const doRequestAudioEnable: (args: AudioEnableRequest) => AppThunk;
3044
3109
  declare const doRequestVideoEnable: (args: VideoEnableRequest) => AppThunk;
3110
+ declare const doRequestScreenshareEnable: (args: ScreenshareEnableRequest) => AppThunk;
3045
3111
  declare const selectRemoteParticipantsRaw: (state: RootState) => RemoteParticipantSliceState;
3046
3112
  declare const selectRemoteClients: (state: RootState) => RemoteParticipant[];
3047
3113
  declare const selectRemoteParticipants: ((state: {
@@ -3302,14 +3368,14 @@ declare const selectScreenshares: ((state: {
3302
3368
  resultsCount: () => number;
3303
3369
  resetResultsCount: () => void;
3304
3370
  } & {
3305
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[];
3306
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[]) & {
3371
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[];
3372
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[]) & {
3307
3373
  clearCache: () => void;
3308
3374
  resultsCount: () => number;
3309
3375
  resetResultsCount: () => void;
3310
3376
  };
3311
3377
  lastResult: () => Screenshare[];
3312
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3378
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
3313
3379
  app: AppState;
3314
3380
  audioDenoiser: AudioDenoiserState;
3315
3381
  authorization: AuthorizationState;
@@ -3397,10 +3463,10 @@ declare const selectRemoteClientViews: ((state: {
3397
3463
  resultsCount: () => number;
3398
3464
  resetResultsCount: () => void;
3399
3465
  } & {
3400
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3466
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3401
3467
  [key: string]: string;
3402
3468
  } | null | undefined) => ClientView[];
3403
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3469
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3404
3470
  [key: string]: string;
3405
3471
  } | null | undefined) => ClientView[]) & {
3406
3472
  clearCache: () => void;
@@ -3408,7 +3474,7 @@ declare const selectRemoteClientViews: ((state: {
3408
3474
  resetResultsCount: () => void;
3409
3475
  };
3410
3476
  lastResult: () => ClientView[];
3411
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3477
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
3412
3478
  app: AppState;
3413
3479
  audioDenoiser: AudioDenoiserState;
3414
3480
  authorization: AuthorizationState;
@@ -3631,10 +3697,10 @@ declare const selectAllClientViews: ((state: {
3631
3697
  resultsCount: () => number;
3632
3698
  resetResultsCount: () => void;
3633
3699
  } & {
3634
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3700
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3635
3701
  [key: string]: string;
3636
3702
  } | null | undefined) => ClientView[];
3637
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3703
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3638
3704
  [key: string]: string;
3639
3705
  } | null | undefined) => ClientView[]) & {
3640
3706
  clearCache: () => void;
@@ -3642,7 +3708,7 @@ declare const selectAllClientViews: ((state: {
3642
3708
  resetResultsCount: () => void;
3643
3709
  };
3644
3710
  lastResult: () => ClientView[];
3645
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3711
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
3646
3712
  app: AppState;
3647
3713
  audioDenoiser: AudioDenoiserState;
3648
3714
  authorization: AuthorizationState;
@@ -3912,10 +3978,10 @@ declare const selectAllClientViewsInCurrentGroup: ((state: {
3912
3978
  resultsCount: () => number;
3913
3979
  resetResultsCount: () => void;
3914
3980
  } & {
3915
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3981
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3916
3982
  [key: string]: string;
3917
3983
  } | null | undefined) => ClientView[];
3918
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3984
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3919
3985
  [key: string]: string;
3920
3986
  } | null | undefined) => ClientView[]) & {
3921
3987
  clearCache: () => void;
@@ -3923,7 +3989,7 @@ declare const selectAllClientViewsInCurrentGroup: ((state: {
3923
3989
  resetResultsCount: () => void;
3924
3990
  };
3925
3991
  lastResult: () => ClientView[];
3926
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3992
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
3927
3993
  app: AppState;
3928
3994
  audioDenoiser: AudioDenoiserState;
3929
3995
  authorization: AuthorizationState;
@@ -4276,10 +4342,10 @@ declare const selectBreakoutGroupedParticipants: ((state: {
4276
4342
  resultsCount: () => number;
4277
4343
  resetResultsCount: () => void;
4278
4344
  } & {
4279
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4345
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4280
4346
  [key: string]: string;
4281
4347
  } | null | undefined) => ClientView[];
4282
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4348
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4283
4349
  [key: string]: string;
4284
4350
  } | null | undefined) => ClientView[]) & {
4285
4351
  clearCache: () => void;
@@ -4287,7 +4353,7 @@ declare const selectBreakoutGroupedParticipants: ((state: {
4287
4353
  resetResultsCount: () => void;
4288
4354
  };
4289
4355
  lastResult: () => ClientView[];
4290
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
4356
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
4291
4357
  app: AppState;
4292
4358
  audioDenoiser: AudioDenoiserState;
4293
4359
  authorization: AuthorizationState;
@@ -4950,6 +5016,7 @@ declare const signalEvents: {
4950
5016
  roomSessionEnded: _reduxjs_toolkit.ActionCreatorWithPayload<RoomSessionEndedEvent, string>;
4951
5017
  screenshareStarted: _reduxjs_toolkit.ActionCreatorWithPayload<ScreenshareStartedEvent, string>;
4952
5018
  screenshareStopped: _reduxjs_toolkit.ActionCreatorWithPayload<ScreenshareStoppedEvent, string>;
5019
+ screenshareEnableRequested: _reduxjs_toolkit.ActionCreatorWithPayload<ScreenshareEnableRequestedEvent, string>;
4953
5020
  spotlightAdded: _reduxjs_toolkit.ActionCreatorWithPayload<SpotlightAddedEvent, string>;
4954
5021
  spotlightRemoved: _reduxjs_toolkit.ActionCreatorWithPayload<SpotlightRemovedEvent, string>;
4955
5022
  streamingStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
@@ -5394,10 +5461,10 @@ declare const selectSpotlightedClientViews: ((state: {
5394
5461
  resultsCount: () => number;
5395
5462
  resetResultsCount: () => void;
5396
5463
  } & {
5397
- resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
5464
+ resultFunc: (resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
5398
5465
  [key: string]: string;
5399
5466
  } | null | undefined) => ClientView[];
5400
- memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
5467
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | undefined, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
5401
5468
  [key: string]: string;
5402
5469
  } | null | undefined) => ClientView[]) & {
5403
5470
  clearCache: () => void;
@@ -5405,7 +5472,7 @@ declare const selectSpotlightedClientViews: ((state: {
5405
5472
  resetResultsCount: () => void;
5406
5473
  };
5407
5474
  lastResult: () => ClientView[];
5408
- dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
5475
+ dependencies: [(state: RootState) => MediaStream | undefined, (state: RootState) => LocalParticipantState, ((state: {
5409
5476
  app: AppState;
5410
5477
  audioDenoiser: AudioDenoiserState;
5411
5478
  authorization: AuthorizationState;
@@ -5762,5 +5829,5 @@ declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus
5762
5829
  declare const selectRoomConnectionError: (state: RootState) => string | null;
5763
5830
  declare const selectRoomConnectionKnockResponse: (state: RootState) => _whereby_com_media.KnockResponse | null;
5764
5831
 
5765
- export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
5766
- export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomState, RootState, RtcConnectionState, SendFilesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
5832
+ export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
5833
+ export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomState, RootState, RtcConnectionState, SendFilesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
74
74
  });
75
75
  };
76
76
 
77
- const coreVersion = "1.20.2";
77
+ const coreVersion = "1.21.0";
78
78
 
79
79
  function decodeRoomName(roomName) {
80
80
  if (!roomName) {
@@ -163,6 +163,7 @@ const signalEvents = {
163
163
  roomSessionEnded: createSignalEventAction("roomSessionEnded"),
164
164
  screenshareStarted: createSignalEventAction("screenshareStarted"),
165
165
  screenshareStopped: createSignalEventAction("screenshareStopped"),
166
+ screenshareEnableRequested: createSignalEventAction("screenshareEnableRequested"),
166
167
  spotlightAdded: createSignalEventAction("spotlightAdded"),
167
168
  spotlightRemoved: createSignalEventAction("spotlightRemoved"),
168
169
  streamingStopped: createSignalEventAction("streamingStopped"),
@@ -179,6 +180,7 @@ const ROOM_ACTION_PERMISSIONS_BY_ROLE = {
179
180
  canLockRoom: ["host"],
180
181
  canRequestAudioEnable: ["host"],
181
182
  canRequestVideoEnable: ["host"],
183
+ canRequestScreenshareEnable: ["host"],
182
184
  canKickClient: ["host"],
183
185
  canEndMeeting: ["host"],
184
186
  canAskToSpeak: ["host"],
@@ -222,6 +224,7 @@ const selectAuthorizationRoleName = (state) => state.authorization.roleName;
222
224
  const selectIsAuthorizedToLockRoom = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canLockRoom.includes(localParticipantRole));
223
225
  const selectIsAuthorizedToRequestAudioEnable = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canRequestAudioEnable.includes(localParticipantRole));
224
226
  const selectIsAuthorizedToRequestVideoEnable = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canRequestVideoEnable.includes(localParticipantRole));
227
+ const selectIsAuthorizedToRequestScreenshareEnable = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canRequestScreenshareEnable.includes(localParticipantRole));
225
228
  const selectIsAuthorizedToKickClient = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canKickClient.includes(localParticipantRole));
226
229
  const selectIsAuthorizedToEndMeeting = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canEndMeeting.includes(localParticipantRole));
227
230
  const selectIsAuthorizedToAskToSpeak = createSelector(selectAuthorizationRoleName, (localParticipantRole) => ROOM_ACTION_PERMISSIONS_BY_ROLE.canAskToSpeak.includes(localParticipantRole));
@@ -343,6 +346,7 @@ function forwardSocketEvents(socket, dispatch) {
343
346
  socket.on("knock_handled", (payload) => dispatch(signalEvents.knockHandled(payload)));
344
347
  socket.on("screenshare_started", (payload) => dispatch(signalEvents.screenshareStarted(payload)));
345
348
  socket.on("screenshare_stopped", (payload) => dispatch(signalEvents.screenshareStopped(payload)));
349
+ socket.on("screenshare_enable_requested", (payload) => dispatch(signalEvents.screenshareEnableRequested(payload)));
346
350
  socket.on("cloud_recording_started", (payload) => dispatch(signalEvents.cloudRecordingStarted(payload)));
347
351
  socket.on("cloud_recording_stopped", () => dispatch(signalEvents.cloudRecordingStopped()));
348
352
  socket.on("streaming_stopped", () => dispatch(signalEvents.streamingStopped()));
@@ -1305,6 +1309,11 @@ const doRequestVideoEnable = createAuthorizedRoomConnectedThunk((state) => selec
1305
1309
  const socket = selectSignalConnectionRaw(state).socket;
1306
1310
  socket === null || socket === void 0 ? void 0 : socket.emit("request_video_enable", payload);
1307
1311
  });
1312
+ const doRequestScreenshareEnable = createAuthorizedRoomConnectedThunk((state) => selectIsAuthorizedToRequestScreenshareEnable(state), (payload) => (_, getState) => {
1313
+ const state = getState();
1314
+ const socket = selectSignalConnectionRaw(state).socket;
1315
+ socket === null || socket === void 0 ? void 0 : socket.emit("request_screenshare_enable", payload);
1316
+ });
1308
1317
  const selectRemoteParticipantsRaw = (state) => state.remoteParticipants;
1309
1318
  const selectRemoteClients = (state) => state.remoteParticipants.remoteParticipants;
1310
1319
  const selectRemoteParticipants = createSelector(selectRemoteClients, (clients) => clients.filter((c) => !NON_PERSON_ROLES.includes(c.roleName)));
@@ -1430,6 +1439,28 @@ startAppListening({
1430
1439
  })));
1431
1440
  },
1432
1441
  });
1442
+ startAppListening({
1443
+ actionCreator: signalEvents.screenshareEnableRequested,
1444
+ effect: ({ payload }, { dispatch, getState }) => {
1445
+ const { enable, requestedByClientId } = payload;
1446
+ const state = getState();
1447
+ const client = selectRemoteParticipants(state).find(({ id }) => id === requestedByClientId);
1448
+ if (!client) {
1449
+ console.warn("Could not find remote client that requested a local screenshare change");
1450
+ return;
1451
+ }
1452
+ dispatch(doSetNotification(createNotificationEvent({
1453
+ type: enable ? "requestScreenshareEnable" : "requestScreenshareDisable",
1454
+ message: enable
1455
+ ? `${client.displayName} has requested for you to share your screen`
1456
+ : `${client.displayName} has stopped your screen share`,
1457
+ props: {
1458
+ client,
1459
+ enable,
1460
+ },
1461
+ })));
1462
+ },
1463
+ });
1433
1464
  startAppListening({
1434
1465
  actionCreator: signalEvents.clientMetadataReceived,
1435
1466
  effect: (action, { dispatch, getOriginalState, getState }) => {
@@ -1893,26 +1924,30 @@ const selectCloudRecordingIsInitiator = (state) => state.cloudRecording.isInitia
1893
1924
 
1894
1925
  const localScreenshareSliceInitialState = {
1895
1926
  status: "inactive",
1896
- stream: null,
1897
- error: null,
1927
+ stream: undefined,
1928
+ error: undefined,
1929
+ startedAt: undefined,
1898
1930
  };
1899
1931
  const localScreenshareSlice = createSlice({
1900
1932
  name: "localScreenshare",
1901
1933
  initialState: localScreenshareSliceInitialState,
1902
1934
  reducers: {
1903
- stopScreenshare(state, action) {
1904
- return Object.assign(Object.assign({}, state), { status: "inactive", stream: null });
1935
+ stopScreenshare: (state, action) => {
1936
+ return Object.assign(Object.assign({}, state), { status: "inactive", stream: undefined, startedAt: undefined, error: undefined });
1937
+ },
1938
+ stopScreenshareFailed: (state) => {
1939
+ return Object.assign(Object.assign({}, state), { status: "inactive", stream: undefined, startedAt: undefined, error: undefined });
1905
1940
  },
1906
1941
  },
1907
1942
  extraReducers: (builder) => {
1908
1943
  builder.addCase(doStartScreenshare.pending, (state) => {
1909
- return Object.assign(Object.assign({}, state), { status: "starting" });
1944
+ return Object.assign(Object.assign({}, state), { status: "starting", error: undefined });
1910
1945
  });
1911
1946
  builder.addCase(doStartScreenshare.fulfilled, (state, { payload: { stream } }) => {
1912
- return Object.assign(Object.assign({}, state), { status: "active", stream });
1947
+ return Object.assign(Object.assign({}, state), { status: "active", stream, startedAt: new Date().getTime(), error: undefined });
1913
1948
  });
1914
1949
  builder.addCase(doStartScreenshare.rejected, (state, { payload }) => {
1915
- return Object.assign(Object.assign({}, state), { error: payload, status: "inactive", stream: null });
1950
+ return Object.assign(Object.assign({}, state), { error: payload, status: "error", stream: undefined });
1916
1951
  });
1917
1952
  },
1918
1953
  });
@@ -1955,6 +1990,7 @@ const doStopScreenshare = createRoomConnectedThunk(() => (dispatch, getState) =>
1955
1990
  const state = getState();
1956
1991
  const screenshareStream = selectLocalScreenshareStream(state);
1957
1992
  if (!screenshareStream) {
1993
+ dispatch(localScreenshareSlice.actions.stopScreenshareFailed());
1958
1994
  return;
1959
1995
  }
1960
1996
  screenshareStream.getTracks().forEach((track) => track.stop());
@@ -1963,6 +1999,8 @@ const doStopScreenshare = createRoomConnectedThunk(() => (dispatch, getState) =>
1963
1999
  const selectLocalScreenshareRaw = (state) => state.localScreenshare;
1964
2000
  const selectLocalScreenshareStatus = (state) => state.localScreenshare.status;
1965
2001
  const selectLocalScreenshareStream = (state) => state.localScreenshare.stream;
2002
+ const selectLocalScreenshareStartedAt = (state) => state.localScreenshare.startedAt;
2003
+ const selectLocalScreenshareError = (state) => state.localScreenshare.error;
1966
2004
  startAppListening({
1967
2005
  actionCreator: localMediaStopped,
1968
2006
  effect: (_, { getState }) => {
@@ -1976,6 +2014,15 @@ startAppListening({
1976
2014
  });
1977
2015
  },
1978
2016
  });
2017
+ startAppListening({
2018
+ actionCreator: signalEvents.screenshareEnableRequested,
2019
+ effect: ({ payload }, { dispatch }) => {
2020
+ const { enable } = payload;
2021
+ if (!enable) {
2022
+ dispatch(doStopScreenshare());
2023
+ }
2024
+ },
2025
+ });
1979
2026
 
1980
2027
  function isStreamerClient(client) {
1981
2028
  return client.roleName === "streamer";
@@ -4795,4 +4842,4 @@ function createServices() {
4795
4842
  };
4796
4843
  }
4797
4844
 
4798
- export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
4845
+ export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, DEFAULT_BREAKOUT_TIMER_DURATION, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateDeviceList, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState$2 as initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };