@whereby.com/core 1.14.1 → 1.15.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 CHANGED
@@ -972,6 +972,15 @@ class RoomService {
972
972
  }
973
973
  }
974
974
 
975
+ class LiveCaption {
976
+ constructor({ resultId, senderId, text }) {
977
+ this.resultId = resultId;
978
+ this.participantId = senderId;
979
+ this.text = text;
980
+ this.timestamp = Date.now();
981
+ }
982
+ }
983
+
975
984
  /******************************************************************************
976
985
  Copyright (c) Microsoft Corporation.
977
986
 
@@ -1217,7 +1226,7 @@ const createReactor = (selectors, callback) => {
1217
1226
  });
1218
1227
  };
1219
1228
 
1220
- const coreVersion = "1.14.1";
1229
+ const coreVersion = "1.15.0";
1221
1230
 
1222
1231
  const initialState$2 = {
1223
1232
  displayName: null,
@@ -1297,6 +1306,7 @@ const signalEvents = {
1297
1306
  liveTranscriptionStopped: createSignalEventAction("liveTranscriptionStopped"),
1298
1307
  liveCaptionsStarted: createSignalEventAction("liveCaptionsStarted"),
1299
1308
  liveCaptionsStopped: createSignalEventAction("liveCaptionsStopped"),
1309
+ liveCaption: createSignalEventAction("liveCaption"),
1300
1310
  };
1301
1311
 
1302
1312
  const ROOM_ACTION_PERMISSIONS_BY_ROLE = {
@@ -1475,8 +1485,9 @@ function forwardSocketEvents(socket, dispatch) {
1475
1485
  socket.on("spotlight_removed", (payload) => dispatch(signalEvents.spotlightRemoved(payload)));
1476
1486
  socket.on("live_transcription_started", (payload) => dispatch(signalEvents.liveTranscriptionStarted(payload)));
1477
1487
  socket.on("live_transcription_stopped", (payload) => dispatch(signalEvents.liveTranscriptionStopped(payload)));
1478
- socket.on("live_captions_started", () => dispatch(signalEvents.liveCaptionsStarted()));
1479
- socket.on("live_captions_stopped", () => dispatch(signalEvents.liveCaptionsStopped()));
1488
+ socket.on("live_captions_started", (payload) => dispatch(signalEvents.liveCaptionsStarted(payload)));
1489
+ socket.on("live_captions_stopped", (payload) => dispatch(signalEvents.liveCaptionsStopped(payload)));
1490
+ socket.on("live_caption", (payload) => dispatch(signalEvents.liveCaption(payload)));
1480
1491
  socket.on("video_enable_requested", (payload) => dispatch(signalEvents.videoEnableRequested(payload)));
1481
1492
  socket.on("breakout_group_joined", (payload) => dispatch(signalEvents.breakoutGroupJoined(payload)));
1482
1493
  socket.on("breakout_session_updated", (payload) => dispatch(signalEvents.breakoutSessionUpdated(payload)));
@@ -3556,6 +3567,78 @@ const doDownloadFile = createAppAsyncThunk("fileShare/downloadFile", (payload) =
3556
3567
  }));
3557
3568
  const selectFileUploads = (state) => state.fileShare.uploads;
3558
3569
 
3570
+ const initialLiveCaptionsState = {
3571
+ isCaptioning: false,
3572
+ captionLog: [],
3573
+ };
3574
+ const captionTimerIds = {};
3575
+ const LIVE_CAPTIONS_STALE_CAPTION_TIMEOUT = 5000;
3576
+ const liveCaptionsSlice = toolkit.createSlice({
3577
+ name: "liveCaptions",
3578
+ initialState: initialLiveCaptionsState,
3579
+ reducers: {
3580
+ captioningRequestStarted: (state) => {
3581
+ return Object.assign(Object.assign({}, state), { status: "requested" });
3582
+ },
3583
+ clearCaption: (state, action) => {
3584
+ return Object.assign(Object.assign({}, state), { captionLog: state.captionLog.filter(({ resultId }) => resultId !== action.payload.resultId) });
3585
+ },
3586
+ },
3587
+ extraReducers: (builder) => {
3588
+ builder.addCase(signalEvents.liveCaptionsStopped, (state) => {
3589
+ return Object.assign(Object.assign({}, state), { isCaptioning: false, startedAt: undefined, status: undefined, error: undefined, captionLog: [] });
3590
+ });
3591
+ builder.addCase(signalEvents.liveCaptionsStarted, (state, action) => {
3592
+ const { payload } = action;
3593
+ if (payload.error) {
3594
+ return Object.assign(Object.assign({}, state), { isCaptioning: false, startedAt: undefined, status: "error", error: payload.error, captionLog: [] });
3595
+ }
3596
+ return Object.assign(Object.assign({}, state), { isCaptioning: true, startedAt: Date.now(), status: "captioning", error: undefined, captionLog: [] });
3597
+ });
3598
+ builder.addCase(signalEvents.liveCaption, (state, action) => {
3599
+ const { payload } = action;
3600
+ const captionLog = [...state.captionLog];
3601
+ const lastCaption = captionLog.length ? captionLog[captionLog.length - 1] : undefined;
3602
+ if (!lastCaption || lastCaption.resultId !== payload.resultId) {
3603
+ return Object.assign(Object.assign({}, state), { captionLog: [...state.captionLog, new LiveCaption(payload)] });
3604
+ }
3605
+ return Object.assign(Object.assign({}, state), { captionLog: [
3606
+ ...state.captionLog.slice(0, state.captionLog.length - 1),
3607
+ Object.assign(Object.assign({}, lastCaption), { text: payload.text }),
3608
+ ] });
3609
+ });
3610
+ },
3611
+ });
3612
+ const { captioningRequestStarted, clearCaption } = liveCaptionsSlice.actions;
3613
+ const doStartLiveCaptions = createRoomConnectedThunk(() => (dispatch, getState) => {
3614
+ const state = getState();
3615
+ const socket = selectSignalConnectionRaw(state).socket;
3616
+ const status = selectLiveCaptionsStatus(state);
3617
+ if (status && ["captioning", "requested"].includes(status)) {
3618
+ return;
3619
+ }
3620
+ socket === null || socket === void 0 ? void 0 : socket.emit("live_captions_enabled");
3621
+ dispatch(captioningRequestStarted());
3622
+ });
3623
+ const doStopLiveCaptions = createRoomConnectedThunk(() => (_, getState) => {
3624
+ const state = getState();
3625
+ const socket = selectSignalConnectionRaw(state).socket;
3626
+ socket === null || socket === void 0 ? void 0 : socket.emit("live_captions_disabled");
3627
+ });
3628
+ const selectLiveCaptionsRaw = (state) => state.liveCaptions;
3629
+ const selectLiveCaptionsStatus = (state) => state.liveCaptions.status;
3630
+ startAppListening({
3631
+ actionCreator: signalEvents.liveCaption,
3632
+ effect: (action, { dispatch }) => {
3633
+ const resultId = action.payload.resultId;
3634
+ clearTimeout(captionTimerIds[resultId]);
3635
+ captionTimerIds[resultId] = setTimeout(() => {
3636
+ delete captionTimerIds[resultId];
3637
+ dispatch(clearCaption({ resultId }));
3638
+ }, LIVE_CAPTIONS_STALE_CAPTION_TIMEOUT);
3639
+ },
3640
+ });
3641
+
3559
3642
  const initialLiveTranscriptionState = {
3560
3643
  isInitiator: false,
3561
3644
  isTranscribing: false,
@@ -3575,20 +3658,17 @@ const liveTranscriptionSlice = toolkit.createSlice({
3575
3658
  });
3576
3659
  builder.addCase(signalEvents.liveTranscriptionStarted, (state, action) => {
3577
3660
  const { payload } = action;
3578
- if (!payload.error) {
3579
- return state;
3661
+ if (payload.error) {
3662
+ return Object.assign(Object.assign({}, state), { isInitiator: false, isTranscribing: false, status: "error", error: payload.error });
3580
3663
  }
3581
- return Object.assign(Object.assign({}, state), { isInitiator: false, isTranscribing: false, status: "error", error: payload.error });
3664
+ return Object.assign(Object.assign({}, state), { isTranscribing: true, status: "transcribing", startedAt: new Date().getTime() });
3582
3665
  });
3583
- builder.addCase(signalEvents.newClient, (state, { payload }) => {
3584
- var _a;
3585
- const { client } = payload;
3586
- if (((_a = client.role) === null || _a === void 0 ? void 0 : _a.roleName) === "captioner") {
3587
- return Object.assign(Object.assign({}, state), { isTranscribing: true, status: "transcribing", startedAt: client.startedLiveTranscriptionAt
3588
- ? new Date(client.startedLiveTranscriptionAt).getTime()
3589
- : new Date().getTime() });
3666
+ builder.addCase(signalEvents.roomJoined, (state, action) => {
3667
+ if ("error" in action.payload) {
3668
+ return state;
3590
3669
  }
3591
- return state;
3670
+ const { room } = action.payload || {};
3671
+ return Object.assign(Object.assign({}, state), { isTranscribing: Boolean(room === null || room === void 0 ? void 0 : room.liveTranscriptionId), status: (room === null || room === void 0 ? void 0 : room.liveTranscriptionId) ? "transcribing" : state.status, startedAt: (room === null || room === void 0 ? void 0 : room.liveTranscriptionId) ? new Date().getTime() : state.startedAt });
3592
3672
  });
3593
3673
  },
3594
3674
  });
@@ -4675,6 +4755,7 @@ const appReducer = toolkit.combineReducers({
4675
4755
  connectionMonitor: connectionMonitorSlice.reducer,
4676
4756
  deviceCredentials: deviceCredentialsSlice.reducer,
4677
4757
  fileShare: fileShareSlice.reducer,
4758
+ liveCaptions: liveCaptionsSlice.reducer,
4678
4759
  liveTranscription: liveTranscriptionSlice.reducer,
4679
4760
  localMedia: localMediaSlice.reducer,
4680
4761
  localParticipant: localParticipantSlice.reducer,
@@ -5025,6 +5106,7 @@ const BREAKOUT_CONFIG_CHANGED = "breakout:config-changed";
5025
5106
  const CHAT_NEW_MESSAGE = "chat:new-message";
5026
5107
  const CLOUD_RECORDING_STATUS_CHANGED = "cloud-recording:status-changed";
5027
5108
  const CONNECTION_STATUS_CHANGED = "connection:status-changed";
5109
+ const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
5028
5110
  const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
5029
5111
  const CONNECTION_ERROR_CHANGED = "connection:error-changed";
5030
5112
  const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
@@ -5043,7 +5125,7 @@ const SPOTLIGHT_PARTICIPANT_REMOVED = "spotlight:participant-removed";
5043
5125
  const ROOM_JOINED = "room:joined";
5044
5126
  const ROOM_JOINED_ERROR = "room:joined:error";
5045
5127
 
5046
- const selectRoomConnectionState = toolkit.createSelector(selectChatMessages, selectFileUploads, selectCloudRecordingRaw, selectBreakoutCurrentGroup, selectBreakoutActive, selectBreakoutGroupedParticipants, selectAllClientViewsInCurrentGroup, selectLiveTranscriptionRaw, selectLocalParticipantRaw, selectLocalMediaStream, selectRemoteParticipants, selectScreenshares, selectRoomConnectionStatus, selectRoomConnectionError, selectStreamingRaw, selectWaitingParticipants, selectNotificationsEmitter, selectSpotlightedClientViews, selectIsCameraEnabled, selectIsMicrophoneEnabled, (chatMessages, fileUploads, cloudRecording, breakoutCurrentGroup, breakoutActive, breakoutGroupedParticipants, clientViewsInCurrentGroup, liveTranscription, localParticipant, localMediaStream, remoteParticipants, screenshares, connectionStatus, connectionError, streaming, waitingParticipants, notificationsEmitter, spotlightedClientViews, isCameraEnabled, isMicrophoneEnabled) => {
5128
+ const selectRoomConnectionState = toolkit.createSelector(selectChatMessages, selectFileUploads, selectCloudRecordingRaw, selectBreakoutCurrentGroup, selectBreakoutActive, selectBreakoutGroupedParticipants, selectAllClientViewsInCurrentGroup, selectLiveCaptionsRaw, selectLiveTranscriptionRaw, selectLocalParticipantRaw, selectLocalMediaStream, selectRemoteParticipants, selectScreenshares, selectRoomConnectionStatus, selectRoomConnectionError, selectStreamingRaw, selectWaitingParticipants, selectNotificationsEmitter, selectSpotlightedClientViews, selectIsCameraEnabled, selectIsMicrophoneEnabled, (chatMessages, fileUploads, cloudRecording, breakoutCurrentGroup, breakoutActive, breakoutGroupedParticipants, clientViewsInCurrentGroup, liveCaptions, liveTranscription, localParticipant, localMediaStream, remoteParticipants, screenshares, connectionStatus, connectionError, streaming, waitingParticipants, notificationsEmitter, spotlightedClientViews, isCameraEnabled, isMicrophoneEnabled) => {
5047
5129
  const state = {
5048
5130
  chatMessages,
5049
5131
  fileUploads,
@@ -5071,6 +5153,14 @@ const selectRoomConnectionState = toolkit.createSelector(selectChatMessages, sel
5071
5153
  startedAt: streaming.startedAt,
5072
5154
  }
5073
5155
  : undefined,
5156
+ liveCaptions: liveCaptions.status
5157
+ ? {
5158
+ error: liveCaptions.error,
5159
+ startedAt: liveCaptions.startedAt,
5160
+ status: liveCaptions.status,
5161
+ captionLog: liveCaptions.captionLog,
5162
+ }
5163
+ : undefined,
5074
5164
  liveTranscription: liveTranscription.status
5075
5165
  ? {
5076
5166
  error: liveTranscription.error,
@@ -5100,6 +5190,7 @@ class RoomConnectionClient extends BaseClient {
5100
5190
  this.connectionErrorSubscribers = new Set();
5101
5191
  this.connectionStatusSubscribers = new Set();
5102
5192
  this.liveStreamSubscribers = new Set();
5193
+ this.liveCaptionsSubscribers = new Set();
5103
5194
  this.liveTranscriptionSubscribers = new Set();
5104
5195
  this.localParticipantSubscribers = new Set();
5105
5196
  this.localScreenshareStatusSubscribers = new Set();
@@ -5123,6 +5214,10 @@ class RoomConnectionClient extends BaseClient {
5123
5214
  this.cloudRecordingSubscribers.forEach((cb) => cb(state.cloudRecording));
5124
5215
  this.emit(CLOUD_RECORDING_STATUS_CHANGED, state.cloudRecording);
5125
5216
  }
5217
+ if (state.liveCaptions !== previousState.liveCaptions) {
5218
+ this.liveCaptionsSubscribers.forEach((cb) => cb(state.liveCaptions));
5219
+ this.emit(LIVE_CAPTIONS_STATUS_CHANGED, state.liveCaptions);
5220
+ }
5126
5221
  if (state.liveTranscription !== previousState.liveTranscription) {
5127
5222
  this.liveTranscriptionSubscribers.forEach((cb) => cb(state.liveTranscription));
5128
5223
  this.emit(LIVE_TRANSCRIPTION_STATUS_CHANGED, state.liveTranscription);
@@ -5237,6 +5332,10 @@ class RoomConnectionClient extends BaseClient {
5237
5332
  this.cloudRecordingSubscribers.add(callback);
5238
5333
  return () => this.cloudRecordingSubscribers.delete(callback);
5239
5334
  }
5335
+ subscribeToLiveCaptions(callback) {
5336
+ this.liveCaptionsSubscribers.add(callback);
5337
+ return () => this.liveCaptionsSubscribers.delete(callback);
5338
+ }
5240
5339
  subscribeToLiveTranscription(callback) {
5241
5340
  this.liveTranscriptionSubscribers.add(callback);
5242
5341
  return () => this.liveTranscriptionSubscribers.delete(callback);
@@ -5404,6 +5503,12 @@ class RoomConnectionClient extends BaseClient {
5404
5503
  stopLiveTranscription() {
5405
5504
  this.store.dispatch(doStopLiveTranscription());
5406
5505
  }
5506
+ startLiveCaptions() {
5507
+ this.store.dispatch(doStartLiveCaptions());
5508
+ }
5509
+ stopLiveCaptions() {
5510
+ this.store.dispatch(doStopLiveCaptions());
5511
+ }
5407
5512
  startScreenshare() {
5408
5513
  this.store.dispatch(doStartScreenshare());
5409
5514
  }
@@ -5568,12 +5673,14 @@ exports.CredentialsService = CredentialsService;
5568
5673
  exports.GridClient = GridClient;
5569
5674
  exports.IS_SETTING_CAMERA_DEVICE = IS_SETTING_CAMERA_DEVICE;
5570
5675
  exports.IS_SETTING_MICROPHONE_DEVICE = IS_SETTING_MICROPHONE_DEVICE;
5676
+ exports.LIVE_CAPTIONS_STATUS_CHANGED = LIVE_CAPTIONS_STATUS_CHANGED;
5571
5677
  exports.LIVE_TRANSCRIPTION_STATUS_CHANGED = LIVE_TRANSCRIPTION_STATUS_CHANGED;
5572
5678
  exports.LOCAL_MEDIA_STARTING = LOCAL_MEDIA_STARTING;
5573
5679
  exports.LOCAL_MEDIA_START_ERROR_CHANGED = LOCAL_MEDIA_START_ERROR_CHANGED;
5574
5680
  exports.LOCAL_PARTICIPANT_CHANGED = LOCAL_PARTICIPANT_CHANGED;
5575
5681
  exports.LOCAL_SCREENSHARE_STATUS_CHANGED = LOCAL_SCREENSHARE_STATUS_CHANGED;
5576
5682
  exports.LOCAL_STREAM_CHANGED = LOCAL_STREAM_CHANGED;
5683
+ exports.LiveCaption = LiveCaption;
5577
5684
  exports.LocalMediaClient = LocalMediaClient;
5578
5685
  exports.LocalParticipant = LocalParticipant;
5579
5686
  exports.MAX_FILES_PER_UPLOAD = MAX_FILES_PER_UPLOAD;
@@ -5582,6 +5689,7 @@ exports.MICROPHONE_DEVICES_CHANGED = MICROPHONE_DEVICES_CHANGED;
5582
5689
  exports.MICROPHONE_DEVICE_ERROR_CHANGED = MICROPHONE_DEVICE_ERROR_CHANGED;
5583
5690
  exports.MICROPHONE_STATE_CHANGED = MICROPHONE_STATE_CHANGED;
5584
5691
  exports.NUMBER_OF_CLIENT_VIEWS_CHANGED = NUMBER_OF_CLIENT_VIEWS_CHANGED;
5692
+ exports.Organization = Organization;
5585
5693
  exports.OrganizationApiClient = OrganizationApiClient;
5586
5694
  exports.OrganizationService = OrganizationService;
5587
5695
  exports.OrganizationServiceCache = OrganizationServiceCache;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { EventEmitter } from 'events';
3
- import { RoleName, ChatMessage as ChatMessage$2, ChatFileShare, FileShareErrorCode, BreakoutConfig, RtcManager, RtcManagerDispatcher, ServerSocket, RoomJoinedErrors, RoomJoinedSuccess } from '@whereby.com/media';
3
+ import { LiveCaptionEvent, RoleName, ChatMessage as ChatMessage$2, ChatFileShare, FileShareErrorCode, BreakoutConfig, RtcManager, RtcManagerDispatcher, ServerSocket, RoomJoinedErrors, RoomJoinedSuccess } from '@whereby.com/media';
4
4
  export { ChatFileShare, RoomJoinedSuccess } from '@whereby.com/media';
5
5
  import * as redux_thunk from 'redux-thunk';
6
6
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
@@ -385,6 +385,14 @@ declare class RoomService {
385
385
  }): any;
386
386
  }
387
387
 
388
+ declare class LiveCaption {
389
+ resultId: string;
390
+ participantId: string;
391
+ text: string;
392
+ timestamp: number;
393
+ constructor({ resultId, senderId, text }: LiveCaptionEvent);
394
+ }
395
+
388
396
  declare function getUsableCameraEffectPresets(): Promise<string[]>;
389
397
  declare function isAudioDenoiserSupported(): Promise<boolean>;
390
398
 
@@ -596,6 +604,14 @@ interface LiveTranscriptionState$1 {
596
604
  startedAt?: number;
597
605
  }
598
606
 
607
+ interface LiveCaptionsState$1 {
608
+ isCaptioning: boolean;
609
+ error?: string;
610
+ status?: "captioning" | "requested" | "error";
611
+ startedAt?: number;
612
+ captionLog: Array<LiveCaption>;
613
+ }
614
+
599
615
  type FileShareError = FileShareErrorCode | "upload_failed" | "too_many_files" | "unsupported_file_type" | "file_too_large";
600
616
  declare const MAX_FILES_PER_UPLOAD = 10;
601
617
  declare const MAX_FILE_SIZE: number;
@@ -816,6 +832,7 @@ declare const appReducer: redux.Reducer<{
816
832
  connectionMonitor: ConnectionMonitorState;
817
833
  deviceCredentials: DeviceCredentialsState;
818
834
  fileShare: FileShareState;
835
+ liveCaptions: LiveCaptionsState$1;
819
836
  liveTranscription: LiveTranscriptionState$1;
820
837
  localMedia: LocalMediaState$1;
821
838
  localParticipant: LocalParticipantState$1;
@@ -842,6 +859,7 @@ declare const appReducer: redux.Reducer<{
842
859
  connectionMonitor: ConnectionMonitorState | undefined;
843
860
  deviceCredentials: DeviceCredentialsState | undefined;
844
861
  fileShare: FileShareState | undefined;
862
+ liveCaptions: LiveCaptionsState$1 | undefined;
845
863
  liveTranscription: LiveTranscriptionState$1 | undefined;
846
864
  localMedia: LocalMediaState$1 | undefined;
847
865
  localParticipant: LocalParticipantState$1 | undefined;
@@ -872,6 +890,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
872
890
  connectionMonitor: ConnectionMonitorState;
873
891
  deviceCredentials: DeviceCredentialsState;
874
892
  fileShare: FileShareState;
893
+ liveCaptions: LiveCaptionsState$1;
875
894
  liveTranscription: LiveTranscriptionState$1;
876
895
  localMedia: LocalMediaState$1;
877
896
  localParticipant: LocalParticipantState$1;
@@ -899,6 +918,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
899
918
  connectionMonitor: ConnectionMonitorState;
900
919
  deviceCredentials: DeviceCredentialsState;
901
920
  fileShare: FileShareState;
921
+ liveCaptions: LiveCaptionsState$1;
902
922
  liveTranscription: LiveTranscriptionState$1;
903
923
  localMedia: LocalMediaState$1;
904
924
  localParticipant: LocalParticipantState$1;
@@ -1116,6 +1136,12 @@ type CloudRecordingState = {
1116
1136
  status: "recording" | "requested" | "error";
1117
1137
  startedAt?: number;
1118
1138
  };
1139
+ type LiveCaptionsState = {
1140
+ error?: string;
1141
+ status: "captioning" | "requested" | "error";
1142
+ startedAt?: number;
1143
+ captionLog: Array<LiveCaption>;
1144
+ };
1119
1145
  type LiveTranscriptionState = {
1120
1146
  error?: string;
1121
1147
  status: "transcribing" | "requested" | "error";
@@ -1151,6 +1177,7 @@ interface RoomConnectionState {
1151
1177
  isCameraEnabled: boolean;
1152
1178
  isMicrophoneEnabled: boolean;
1153
1179
  liveStream?: LiveStreamState;
1180
+ liveCaptions?: LiveCaptionsState;
1154
1181
  liveTranscription?: LiveTranscriptionState;
1155
1182
  localScreenshareStatus?: LocalScreenshareStatus;
1156
1183
  localParticipant?: LocalParticipantState;
@@ -1164,6 +1191,7 @@ declare const BREAKOUT_CONFIG_CHANGED = "breakout:config-changed";
1164
1191
  declare const CHAT_NEW_MESSAGE = "chat:new-message";
1165
1192
  declare const CLOUD_RECORDING_STATUS_CHANGED = "cloud-recording:status-changed";
1166
1193
  declare const CONNECTION_STATUS_CHANGED = "connection:status-changed";
1194
+ declare const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
1167
1195
  declare const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
1168
1196
  declare const CONNECTION_ERROR_CHANGED = "connection:error-changed";
1169
1197
  declare const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
@@ -1191,6 +1219,7 @@ type RoomConnectionEvents = {
1191
1219
  [CHAT_NEW_MESSAGE]: [message: ChatMessage$1];
1192
1220
  [CLOUD_RECORDING_STATUS_CHANGED]: [status: CloudRecordingState | undefined];
1193
1221
  [CONNECTION_STATUS_CHANGED]: [status: ConnectionStatus];
1222
+ [LIVE_CAPTIONS_STATUS_CHANGED]: [status: LiveCaptionsState | undefined];
1194
1223
  [LIVE_TRANSCRIPTION_STATUS_CHANGED]: [status: LiveTranscriptionState | undefined];
1195
1224
  [CONNECTION_ERROR_CHANGED]: [error: string | null];
1196
1225
  [LOCAL_PARTICIPANT_CHANGED]: [participant?: LocalParticipantState];
@@ -1220,6 +1249,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1220
1249
  private connectionErrorSubscribers;
1221
1250
  private connectionStatusSubscribers;
1222
1251
  private liveStreamSubscribers;
1252
+ private liveCaptionsSubscribers;
1223
1253
  private liveTranscriptionSubscribers;
1224
1254
  private localParticipantSubscribers;
1225
1255
  private localScreenshareStatusSubscribers;
@@ -1234,6 +1264,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1234
1264
  subscribeToChatMessages(callback: (messages: ChatMessage[]) => void): () => void;
1235
1265
  subscribeToFileUploads(callback: (uploads: FileUpload[]) => void): () => void;
1236
1266
  subscribeToCloudRecording(callback: (status: CloudRecordingState | undefined) => void): () => void;
1267
+ subscribeToLiveCaptions(callback: (status: LiveCaptionsState | undefined) => void): () => void;
1237
1268
  subscribeToLiveTranscription(callback: (status: LiveTranscriptionState | undefined) => void): () => void;
1238
1269
  subscribeToBreakoutConfig(callback: (config: BreakoutState) => void): () => void;
1239
1270
  subscribeToConnectionStatus(callback: (status: ConnectionStatus) => void): () => void;
@@ -1275,6 +1306,8 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1275
1306
  stopCloudRecording(): void;
1276
1307
  startLiveTranscription(): void;
1277
1308
  stopLiveTranscription(): void;
1309
+ startLiveCaptions(): void;
1310
+ stopLiveCaptions(): void;
1278
1311
  startScreenshare(): void;
1279
1312
  stopScreenshare(): void;
1280
1313
  lockRoom(locked: boolean): void;
@@ -1309,5 +1342,5 @@ declare class WherebyClient {
1309
1342
  destroy(): void;
1310
1343
  }
1311
1344
 
1312
- export { ACCEPTED_FILE_TYPES, ApiClient, BREAKOUT_CONFIG_CHANGED, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_JOINED, ROOM_JOINED_ERROR, RoomConnectionClient, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createServices, debounce, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, parseUnverifiedRoomKeyData };
1313
- export type { AppConfig, BreakoutState, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FullOrganizationPermissions, GridEvents, GridState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, Screenshare, ScreenshareState, SignalClientEvent, SignalStatusEvent, StickyReaction, StickyReactionEvent, StreamState, WaitingParticipant, WaitingParticipantState, WherebyClientOptions };
1345
+ export { ACCEPTED_FILE_TYPES, ApiClient, BREAKOUT_CONFIG_CHANGED, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_JOINED, ROOM_JOINED_ERROR, RoomConnectionClient, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createServices, debounce, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, parseUnverifiedRoomKeyData };
1346
+ export type { AppConfig, BreakoutState, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FullOrganizationPermissions, GridEvents, GridState, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, Screenshare, ScreenshareState, SignalClientEvent, SignalStatusEvent, StickyReaction, StickyReactionEvent, StreamState, WaitingParticipant, WaitingParticipantState, WherebyClientOptions };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { EventEmitter } from 'events';
3
- import { RoleName, ChatMessage as ChatMessage$2, ChatFileShare, FileShareErrorCode, BreakoutConfig, RtcManager, RtcManagerDispatcher, ServerSocket, RoomJoinedErrors, RoomJoinedSuccess } from '@whereby.com/media';
3
+ import { LiveCaptionEvent, RoleName, ChatMessage as ChatMessage$2, ChatFileShare, FileShareErrorCode, BreakoutConfig, RtcManager, RtcManagerDispatcher, ServerSocket, RoomJoinedErrors, RoomJoinedSuccess } from '@whereby.com/media';
4
4
  export { ChatFileShare, RoomJoinedSuccess } from '@whereby.com/media';
5
5
  import * as redux_thunk from 'redux-thunk';
6
6
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
@@ -385,6 +385,14 @@ declare class RoomService {
385
385
  }): any;
386
386
  }
387
387
 
388
+ declare class LiveCaption {
389
+ resultId: string;
390
+ participantId: string;
391
+ text: string;
392
+ timestamp: number;
393
+ constructor({ resultId, senderId, text }: LiveCaptionEvent);
394
+ }
395
+
388
396
  declare function getUsableCameraEffectPresets(): Promise<string[]>;
389
397
  declare function isAudioDenoiserSupported(): Promise<boolean>;
390
398
 
@@ -596,6 +604,14 @@ interface LiveTranscriptionState$1 {
596
604
  startedAt?: number;
597
605
  }
598
606
 
607
+ interface LiveCaptionsState$1 {
608
+ isCaptioning: boolean;
609
+ error?: string;
610
+ status?: "captioning" | "requested" | "error";
611
+ startedAt?: number;
612
+ captionLog: Array<LiveCaption>;
613
+ }
614
+
599
615
  type FileShareError = FileShareErrorCode | "upload_failed" | "too_many_files" | "unsupported_file_type" | "file_too_large";
600
616
  declare const MAX_FILES_PER_UPLOAD = 10;
601
617
  declare const MAX_FILE_SIZE: number;
@@ -816,6 +832,7 @@ declare const appReducer: redux.Reducer<{
816
832
  connectionMonitor: ConnectionMonitorState;
817
833
  deviceCredentials: DeviceCredentialsState;
818
834
  fileShare: FileShareState;
835
+ liveCaptions: LiveCaptionsState$1;
819
836
  liveTranscription: LiveTranscriptionState$1;
820
837
  localMedia: LocalMediaState$1;
821
838
  localParticipant: LocalParticipantState$1;
@@ -842,6 +859,7 @@ declare const appReducer: redux.Reducer<{
842
859
  connectionMonitor: ConnectionMonitorState | undefined;
843
860
  deviceCredentials: DeviceCredentialsState | undefined;
844
861
  fileShare: FileShareState | undefined;
862
+ liveCaptions: LiveCaptionsState$1 | undefined;
845
863
  liveTranscription: LiveTranscriptionState$1 | undefined;
846
864
  localMedia: LocalMediaState$1 | undefined;
847
865
  localParticipant: LocalParticipantState$1 | undefined;
@@ -872,6 +890,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
872
890
  connectionMonitor: ConnectionMonitorState;
873
891
  deviceCredentials: DeviceCredentialsState;
874
892
  fileShare: FileShareState;
893
+ liveCaptions: LiveCaptionsState$1;
875
894
  liveTranscription: LiveTranscriptionState$1;
876
895
  localMedia: LocalMediaState$1;
877
896
  localParticipant: LocalParticipantState$1;
@@ -899,6 +918,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
899
918
  connectionMonitor: ConnectionMonitorState;
900
919
  deviceCredentials: DeviceCredentialsState;
901
920
  fileShare: FileShareState;
921
+ liveCaptions: LiveCaptionsState$1;
902
922
  liveTranscription: LiveTranscriptionState$1;
903
923
  localMedia: LocalMediaState$1;
904
924
  localParticipant: LocalParticipantState$1;
@@ -1116,6 +1136,12 @@ type CloudRecordingState = {
1116
1136
  status: "recording" | "requested" | "error";
1117
1137
  startedAt?: number;
1118
1138
  };
1139
+ type LiveCaptionsState = {
1140
+ error?: string;
1141
+ status: "captioning" | "requested" | "error";
1142
+ startedAt?: number;
1143
+ captionLog: Array<LiveCaption>;
1144
+ };
1119
1145
  type LiveTranscriptionState = {
1120
1146
  error?: string;
1121
1147
  status: "transcribing" | "requested" | "error";
@@ -1151,6 +1177,7 @@ interface RoomConnectionState {
1151
1177
  isCameraEnabled: boolean;
1152
1178
  isMicrophoneEnabled: boolean;
1153
1179
  liveStream?: LiveStreamState;
1180
+ liveCaptions?: LiveCaptionsState;
1154
1181
  liveTranscription?: LiveTranscriptionState;
1155
1182
  localScreenshareStatus?: LocalScreenshareStatus;
1156
1183
  localParticipant?: LocalParticipantState;
@@ -1164,6 +1191,7 @@ declare const BREAKOUT_CONFIG_CHANGED = "breakout:config-changed";
1164
1191
  declare const CHAT_NEW_MESSAGE = "chat:new-message";
1165
1192
  declare const CLOUD_RECORDING_STATUS_CHANGED = "cloud-recording:status-changed";
1166
1193
  declare const CONNECTION_STATUS_CHANGED = "connection:status-changed";
1194
+ declare const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
1167
1195
  declare const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
1168
1196
  declare const CONNECTION_ERROR_CHANGED = "connection:error-changed";
1169
1197
  declare const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
@@ -1191,6 +1219,7 @@ type RoomConnectionEvents = {
1191
1219
  [CHAT_NEW_MESSAGE]: [message: ChatMessage$1];
1192
1220
  [CLOUD_RECORDING_STATUS_CHANGED]: [status: CloudRecordingState | undefined];
1193
1221
  [CONNECTION_STATUS_CHANGED]: [status: ConnectionStatus];
1222
+ [LIVE_CAPTIONS_STATUS_CHANGED]: [status: LiveCaptionsState | undefined];
1194
1223
  [LIVE_TRANSCRIPTION_STATUS_CHANGED]: [status: LiveTranscriptionState | undefined];
1195
1224
  [CONNECTION_ERROR_CHANGED]: [error: string | null];
1196
1225
  [LOCAL_PARTICIPANT_CHANGED]: [participant?: LocalParticipantState];
@@ -1220,6 +1249,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1220
1249
  private connectionErrorSubscribers;
1221
1250
  private connectionStatusSubscribers;
1222
1251
  private liveStreamSubscribers;
1252
+ private liveCaptionsSubscribers;
1223
1253
  private liveTranscriptionSubscribers;
1224
1254
  private localParticipantSubscribers;
1225
1255
  private localScreenshareStatusSubscribers;
@@ -1234,6 +1264,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1234
1264
  subscribeToChatMessages(callback: (messages: ChatMessage[]) => void): () => void;
1235
1265
  subscribeToFileUploads(callback: (uploads: FileUpload[]) => void): () => void;
1236
1266
  subscribeToCloudRecording(callback: (status: CloudRecordingState | undefined) => void): () => void;
1267
+ subscribeToLiveCaptions(callback: (status: LiveCaptionsState | undefined) => void): () => void;
1237
1268
  subscribeToLiveTranscription(callback: (status: LiveTranscriptionState | undefined) => void): () => void;
1238
1269
  subscribeToBreakoutConfig(callback: (config: BreakoutState) => void): () => void;
1239
1270
  subscribeToConnectionStatus(callback: (status: ConnectionStatus) => void): () => void;
@@ -1275,6 +1306,8 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
1275
1306
  stopCloudRecording(): void;
1276
1307
  startLiveTranscription(): void;
1277
1308
  stopLiveTranscription(): void;
1309
+ startLiveCaptions(): void;
1310
+ stopLiveCaptions(): void;
1278
1311
  startScreenshare(): void;
1279
1312
  stopScreenshare(): void;
1280
1313
  lockRoom(locked: boolean): void;
@@ -1309,5 +1342,5 @@ declare class WherebyClient {
1309
1342
  destroy(): void;
1310
1343
  }
1311
1344
 
1312
- export { ACCEPTED_FILE_TYPES, ApiClient, BREAKOUT_CONFIG_CHANGED, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_JOINED, ROOM_JOINED_ERROR, RoomConnectionClient, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createServices, debounce, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, parseUnverifiedRoomKeyData };
1313
- export type { AppConfig, BreakoutState, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FullOrganizationPermissions, GridEvents, GridState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, Screenshare, ScreenshareState, SignalClientEvent, SignalStatusEvent, StickyReaction, StickyReactionEvent, StreamState, WaitingParticipant, WaitingParticipantState, WherebyClientOptions };
1345
+ export { ACCEPTED_FILE_TYPES, ApiClient, BREAKOUT_CONFIG_CHANGED, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_JOINED, ROOM_JOINED_ERROR, RoomConnectionClient, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createServices, debounce, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, parseUnverifiedRoomKeyData };
1346
+ export type { AppConfig, BreakoutState, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FullOrganizationPermissions, GridEvents, GridState, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, Screenshare, ScreenshareState, SignalClientEvent, SignalStatusEvent, StickyReaction, StickyReactionEvent, StreamState, WaitingParticipant, WaitingParticipantState, WherebyClientOptions };