@whereby.com/core 1.24.0 → 1.26.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 +568 -253
- package/dist/index.d.cts +56 -2
- package/dist/index.d.mts +56 -2
- package/dist/index.d.ts +56 -2
- package/dist/index.mjs +567 -254
- package/dist/legacy-esm.js +567 -254
- package/dist/redux/index.cjs +559 -256
- package/dist/redux/index.d.cts +463 -21
- package/dist/redux/index.d.mts +463 -21
- package/dist/redux/index.d.ts +463 -21
- package/dist/redux/index.js +544 -257
- package/dist/redux/index.mjs +544 -257
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -619,6 +619,12 @@ type ChatMessageEvent = NotificationEvent<"chatMessageReceived", ChatMessageEven
|
|
|
619
619
|
interface SignalStatusEventProps {
|
|
620
620
|
}
|
|
621
621
|
type SignalStatusEvent = NotificationEvent<"signalTrouble" | "signalOk", SignalStatusEventProps>;
|
|
622
|
+
interface ReconnectingEventProps {
|
|
623
|
+
}
|
|
624
|
+
type ReconnectingEvent = NotificationEvent<"reconnecting", ReconnectingEventProps>;
|
|
625
|
+
interface ReconnectedEventProps {
|
|
626
|
+
}
|
|
627
|
+
type ReconnectedEvent = NotificationEvent<"reconnected", ReconnectedEventProps>;
|
|
622
628
|
interface SignalClientEventProps {
|
|
623
629
|
}
|
|
624
630
|
type SignalClientEvent = NotificationEvent<"clientUnableToJoinFullRoom", SignalClientEventProps>;
|
|
@@ -646,6 +652,8 @@ type NotificationEventTypes = {
|
|
|
646
652
|
["remoteHandLowered"]: StickyReactionEvent;
|
|
647
653
|
["signalTrouble"]: SignalStatusEvent;
|
|
648
654
|
["signalOk"]: SignalStatusEvent;
|
|
655
|
+
["reconnecting"]: ReconnectingEvent;
|
|
656
|
+
["reconnected"]: ReconnectedEvent;
|
|
649
657
|
["clientUnableToJoinFullRoom"]: SignalClientEvent;
|
|
650
658
|
["requestVideoEnable"]: RequestVideoEvent;
|
|
651
659
|
["requestVideoDisable"]: RequestVideoEvent;
|
|
@@ -800,8 +808,41 @@ declare function createBreakoutGroups(count?: number): {
|
|
|
800
808
|
[groupId: string]: string;
|
|
801
809
|
};
|
|
802
810
|
|
|
811
|
+
declare const CALL_QUALITY_LEVELS: {
|
|
812
|
+
readonly CRITICAL: "critical";
|
|
813
|
+
readonly WARNING: "warning";
|
|
814
|
+
readonly OK: "ok";
|
|
815
|
+
};
|
|
816
|
+
type CallQualityLevel = (typeof CALL_QUALITY_LEVELS)[keyof typeof CALL_QUALITY_LEVELS];
|
|
817
|
+
type ConnectionMonitorReport = {
|
|
818
|
+
critical: Record<string, {
|
|
819
|
+
video?: Array<string>;
|
|
820
|
+
audio?: Array<string>;
|
|
821
|
+
}>;
|
|
822
|
+
warning: Record<string, {
|
|
823
|
+
video?: Array<string>;
|
|
824
|
+
audio?: Array<string>;
|
|
825
|
+
}>;
|
|
826
|
+
};
|
|
827
|
+
type CallQualityScore = {
|
|
828
|
+
total: CallQualityLevel;
|
|
829
|
+
video: CallQualityLevel;
|
|
830
|
+
audio: CallQualityLevel;
|
|
831
|
+
};
|
|
832
|
+
type RemoteCallQualityScores = Record<string, CallQualityScore>;
|
|
833
|
+
type RemoteParticipantQualityReport = Record<string, {
|
|
834
|
+
quality: CallQualityLevel;
|
|
835
|
+
}>;
|
|
836
|
+
type MediaQualityScores = Record<string, {
|
|
837
|
+
video?: CallQualityLevel;
|
|
838
|
+
audio?: CallQualityLevel;
|
|
839
|
+
}>;
|
|
803
840
|
interface ConnectionMonitorState {
|
|
804
841
|
running: boolean;
|
|
842
|
+
issuesReport?: ConnectionMonitorReport;
|
|
843
|
+
remoteQualityScores?: RemoteCallQualityScores;
|
|
844
|
+
localQualityScore?: CallQualityScore;
|
|
845
|
+
mediaScores?: MediaQualityScores;
|
|
805
846
|
stopCallbackFunction?: () => void;
|
|
806
847
|
}
|
|
807
848
|
|
|
@@ -920,6 +961,7 @@ interface RoomConnectionState$1 {
|
|
|
920
961
|
status: ConnectionStatus;
|
|
921
962
|
error: string | null;
|
|
922
963
|
knockResponse: KnockResponse | null;
|
|
964
|
+
isRejoining: boolean;
|
|
923
965
|
}
|
|
924
966
|
|
|
925
967
|
interface RoomIntegration {
|
|
@@ -1432,6 +1474,7 @@ interface RoomConnectionState {
|
|
|
1432
1474
|
fileUploads: FileUpload[];
|
|
1433
1475
|
cloudRecording?: CloudRecordingState;
|
|
1434
1476
|
breakout: BreakoutState;
|
|
1477
|
+
remoteParticipantQualityReport: RemoteParticipantQualityReport;
|
|
1435
1478
|
events?: NotificationsEventEmitter;
|
|
1436
1479
|
isAudioOnlyModeEnabled: boolean;
|
|
1437
1480
|
isCameraEnabled: boolean;
|
|
@@ -1457,6 +1500,7 @@ declare const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
|
|
|
1457
1500
|
declare const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
|
|
1458
1501
|
declare const CONNECTION_ERROR_CHANGED = "connection:error-changed";
|
|
1459
1502
|
declare const AUDIO_ONLY_MODE_CHANGED = "audio-only-mode:changed";
|
|
1503
|
+
declare const REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED = "remote-participant-quality-report:changed";
|
|
1460
1504
|
declare const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
|
|
1461
1505
|
declare const LOCAL_SCREENSHARE_STATUS_CHANGED = "local-screenshare:status-changed";
|
|
1462
1506
|
declare const LOCAL_SCREENSHARE_CHANGED = "local-screenshare:state-changed";
|
|
@@ -1473,10 +1517,16 @@ declare const SPOTLIGHT_PARTICIPANT_ADDED = "spotlight:participant-added";
|
|
|
1473
1517
|
declare const SPOTLIGHT_PARTICIPANT_REMOVED = "spotlight:participant-removed";
|
|
1474
1518
|
declare const ROOM_JOINED = "room:joined";
|
|
1475
1519
|
declare const ROOM_JOINED_ERROR = "room:joined:error";
|
|
1520
|
+
declare const ROOM_REJOINED = "room:rejoined";
|
|
1476
1521
|
type RoomJoinedEvent = {
|
|
1477
1522
|
isLocked: boolean;
|
|
1478
1523
|
selfId: string;
|
|
1479
1524
|
};
|
|
1525
|
+
type RoomRejoinedEvent = {
|
|
1526
|
+
selfId: string;
|
|
1527
|
+
previousSelfId: string;
|
|
1528
|
+
selfIdChanged: boolean;
|
|
1529
|
+
};
|
|
1480
1530
|
type RoomConnectionEvents = {
|
|
1481
1531
|
[BREAKOUT_CONFIG_CHANGED]: [config: BreakoutState];
|
|
1482
1532
|
[CAMERA_STATE_CHANGED]: [isCameraEnabled: boolean];
|
|
@@ -1487,6 +1537,7 @@ type RoomConnectionEvents = {
|
|
|
1487
1537
|
[LIVE_TRANSCRIPTION_STATUS_CHANGED]: [status: LiveTranscriptionState | undefined];
|
|
1488
1538
|
[CONNECTION_ERROR_CHANGED]: [error: string | null];
|
|
1489
1539
|
[AUDIO_ONLY_MODE_CHANGED]: [isEnabled: boolean];
|
|
1540
|
+
[REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED]: [report: RemoteParticipantQualityReport];
|
|
1490
1541
|
[LOCAL_PARTICIPANT_CHANGED]: [participant?: LocalParticipantState];
|
|
1491
1542
|
[LOCAL_SCREENSHARE_STATUS_CHANGED]: [status?: LocalScreenshareStatus];
|
|
1492
1543
|
[LOCAL_SCREENSHARE_CHANGED]: [status: LocalScreenshareState | undefined];
|
|
@@ -1496,6 +1547,7 @@ type RoomConnectionEvents = {
|
|
|
1496
1547
|
[SCREENSHARE_STOPPED]: [screenshareId: string];
|
|
1497
1548
|
[ROOM_JOINED]: [room: RoomJoinedEvent];
|
|
1498
1549
|
[ROOM_JOINED_ERROR]: [error: RoomJoinedErrors | string];
|
|
1550
|
+
[ROOM_REJOINED]: [room: RoomRejoinedEvent];
|
|
1499
1551
|
[WAITING_PARTICIPANT_JOINED]: [participant: WaitingParticipant];
|
|
1500
1552
|
[WAITING_PARTICIPANT_LEFT]: [participantId: string];
|
|
1501
1553
|
[SPOTLIGHT_PARTICIPANT_ADDED]: [participant: ClientView];
|
|
@@ -1514,6 +1566,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1514
1566
|
private cloudRecordingSubscribers;
|
|
1515
1567
|
private connectionErrorSubscribers;
|
|
1516
1568
|
private audioOnlyModeSubscribers;
|
|
1569
|
+
private remoteParticipantQualityReportSubscribers;
|
|
1517
1570
|
private connectionStatusSubscribers;
|
|
1518
1571
|
private liveStreamSubscribers;
|
|
1519
1572
|
private liveCaptionsSubscribers;
|
|
@@ -1538,6 +1591,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1538
1591
|
subscribeToConnectionStatus(callback: (status: ConnectionStatus) => void): () => void;
|
|
1539
1592
|
subscribeToConnectionError(callback: (error: string | null) => void): () => void;
|
|
1540
1593
|
subscribeToAudioOnlyMode(callback: (isEnabled: boolean) => void): () => void;
|
|
1594
|
+
subscribeToRemoteParticipantQualityReport(callback: (report: RemoteParticipantQualityReport) => void): () => void;
|
|
1541
1595
|
subscribeToLiveStream(callback: (status: {
|
|
1542
1596
|
status: "streaming";
|
|
1543
1597
|
} | undefined) => void): () => void;
|
|
@@ -1643,5 +1697,5 @@ declare class WherebyClient {
|
|
|
1643
1697
|
destroy(): void;
|
|
1644
1698
|
}
|
|
1645
1699
|
|
|
1646
|
-
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1647
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1700
|
+
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1701
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
package/dist/index.d.mts
CHANGED
|
@@ -619,6 +619,12 @@ type ChatMessageEvent = NotificationEvent<"chatMessageReceived", ChatMessageEven
|
|
|
619
619
|
interface SignalStatusEventProps {
|
|
620
620
|
}
|
|
621
621
|
type SignalStatusEvent = NotificationEvent<"signalTrouble" | "signalOk", SignalStatusEventProps>;
|
|
622
|
+
interface ReconnectingEventProps {
|
|
623
|
+
}
|
|
624
|
+
type ReconnectingEvent = NotificationEvent<"reconnecting", ReconnectingEventProps>;
|
|
625
|
+
interface ReconnectedEventProps {
|
|
626
|
+
}
|
|
627
|
+
type ReconnectedEvent = NotificationEvent<"reconnected", ReconnectedEventProps>;
|
|
622
628
|
interface SignalClientEventProps {
|
|
623
629
|
}
|
|
624
630
|
type SignalClientEvent = NotificationEvent<"clientUnableToJoinFullRoom", SignalClientEventProps>;
|
|
@@ -646,6 +652,8 @@ type NotificationEventTypes = {
|
|
|
646
652
|
["remoteHandLowered"]: StickyReactionEvent;
|
|
647
653
|
["signalTrouble"]: SignalStatusEvent;
|
|
648
654
|
["signalOk"]: SignalStatusEvent;
|
|
655
|
+
["reconnecting"]: ReconnectingEvent;
|
|
656
|
+
["reconnected"]: ReconnectedEvent;
|
|
649
657
|
["clientUnableToJoinFullRoom"]: SignalClientEvent;
|
|
650
658
|
["requestVideoEnable"]: RequestVideoEvent;
|
|
651
659
|
["requestVideoDisable"]: RequestVideoEvent;
|
|
@@ -800,8 +808,41 @@ declare function createBreakoutGroups(count?: number): {
|
|
|
800
808
|
[groupId: string]: string;
|
|
801
809
|
};
|
|
802
810
|
|
|
811
|
+
declare const CALL_QUALITY_LEVELS: {
|
|
812
|
+
readonly CRITICAL: "critical";
|
|
813
|
+
readonly WARNING: "warning";
|
|
814
|
+
readonly OK: "ok";
|
|
815
|
+
};
|
|
816
|
+
type CallQualityLevel = (typeof CALL_QUALITY_LEVELS)[keyof typeof CALL_QUALITY_LEVELS];
|
|
817
|
+
type ConnectionMonitorReport = {
|
|
818
|
+
critical: Record<string, {
|
|
819
|
+
video?: Array<string>;
|
|
820
|
+
audio?: Array<string>;
|
|
821
|
+
}>;
|
|
822
|
+
warning: Record<string, {
|
|
823
|
+
video?: Array<string>;
|
|
824
|
+
audio?: Array<string>;
|
|
825
|
+
}>;
|
|
826
|
+
};
|
|
827
|
+
type CallQualityScore = {
|
|
828
|
+
total: CallQualityLevel;
|
|
829
|
+
video: CallQualityLevel;
|
|
830
|
+
audio: CallQualityLevel;
|
|
831
|
+
};
|
|
832
|
+
type RemoteCallQualityScores = Record<string, CallQualityScore>;
|
|
833
|
+
type RemoteParticipantQualityReport = Record<string, {
|
|
834
|
+
quality: CallQualityLevel;
|
|
835
|
+
}>;
|
|
836
|
+
type MediaQualityScores = Record<string, {
|
|
837
|
+
video?: CallQualityLevel;
|
|
838
|
+
audio?: CallQualityLevel;
|
|
839
|
+
}>;
|
|
803
840
|
interface ConnectionMonitorState {
|
|
804
841
|
running: boolean;
|
|
842
|
+
issuesReport?: ConnectionMonitorReport;
|
|
843
|
+
remoteQualityScores?: RemoteCallQualityScores;
|
|
844
|
+
localQualityScore?: CallQualityScore;
|
|
845
|
+
mediaScores?: MediaQualityScores;
|
|
805
846
|
stopCallbackFunction?: () => void;
|
|
806
847
|
}
|
|
807
848
|
|
|
@@ -920,6 +961,7 @@ interface RoomConnectionState$1 {
|
|
|
920
961
|
status: ConnectionStatus;
|
|
921
962
|
error: string | null;
|
|
922
963
|
knockResponse: KnockResponse | null;
|
|
964
|
+
isRejoining: boolean;
|
|
923
965
|
}
|
|
924
966
|
|
|
925
967
|
interface RoomIntegration {
|
|
@@ -1432,6 +1474,7 @@ interface RoomConnectionState {
|
|
|
1432
1474
|
fileUploads: FileUpload[];
|
|
1433
1475
|
cloudRecording?: CloudRecordingState;
|
|
1434
1476
|
breakout: BreakoutState;
|
|
1477
|
+
remoteParticipantQualityReport: RemoteParticipantQualityReport;
|
|
1435
1478
|
events?: NotificationsEventEmitter;
|
|
1436
1479
|
isAudioOnlyModeEnabled: boolean;
|
|
1437
1480
|
isCameraEnabled: boolean;
|
|
@@ -1457,6 +1500,7 @@ declare const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
|
|
|
1457
1500
|
declare const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
|
|
1458
1501
|
declare const CONNECTION_ERROR_CHANGED = "connection:error-changed";
|
|
1459
1502
|
declare const AUDIO_ONLY_MODE_CHANGED = "audio-only-mode:changed";
|
|
1503
|
+
declare const REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED = "remote-participant-quality-report:changed";
|
|
1460
1504
|
declare const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
|
|
1461
1505
|
declare const LOCAL_SCREENSHARE_STATUS_CHANGED = "local-screenshare:status-changed";
|
|
1462
1506
|
declare const LOCAL_SCREENSHARE_CHANGED = "local-screenshare:state-changed";
|
|
@@ -1473,10 +1517,16 @@ declare const SPOTLIGHT_PARTICIPANT_ADDED = "spotlight:participant-added";
|
|
|
1473
1517
|
declare const SPOTLIGHT_PARTICIPANT_REMOVED = "spotlight:participant-removed";
|
|
1474
1518
|
declare const ROOM_JOINED = "room:joined";
|
|
1475
1519
|
declare const ROOM_JOINED_ERROR = "room:joined:error";
|
|
1520
|
+
declare const ROOM_REJOINED = "room:rejoined";
|
|
1476
1521
|
type RoomJoinedEvent = {
|
|
1477
1522
|
isLocked: boolean;
|
|
1478
1523
|
selfId: string;
|
|
1479
1524
|
};
|
|
1525
|
+
type RoomRejoinedEvent = {
|
|
1526
|
+
selfId: string;
|
|
1527
|
+
previousSelfId: string;
|
|
1528
|
+
selfIdChanged: boolean;
|
|
1529
|
+
};
|
|
1480
1530
|
type RoomConnectionEvents = {
|
|
1481
1531
|
[BREAKOUT_CONFIG_CHANGED]: [config: BreakoutState];
|
|
1482
1532
|
[CAMERA_STATE_CHANGED]: [isCameraEnabled: boolean];
|
|
@@ -1487,6 +1537,7 @@ type RoomConnectionEvents = {
|
|
|
1487
1537
|
[LIVE_TRANSCRIPTION_STATUS_CHANGED]: [status: LiveTranscriptionState | undefined];
|
|
1488
1538
|
[CONNECTION_ERROR_CHANGED]: [error: string | null];
|
|
1489
1539
|
[AUDIO_ONLY_MODE_CHANGED]: [isEnabled: boolean];
|
|
1540
|
+
[REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED]: [report: RemoteParticipantQualityReport];
|
|
1490
1541
|
[LOCAL_PARTICIPANT_CHANGED]: [participant?: LocalParticipantState];
|
|
1491
1542
|
[LOCAL_SCREENSHARE_STATUS_CHANGED]: [status?: LocalScreenshareStatus];
|
|
1492
1543
|
[LOCAL_SCREENSHARE_CHANGED]: [status: LocalScreenshareState | undefined];
|
|
@@ -1496,6 +1547,7 @@ type RoomConnectionEvents = {
|
|
|
1496
1547
|
[SCREENSHARE_STOPPED]: [screenshareId: string];
|
|
1497
1548
|
[ROOM_JOINED]: [room: RoomJoinedEvent];
|
|
1498
1549
|
[ROOM_JOINED_ERROR]: [error: RoomJoinedErrors | string];
|
|
1550
|
+
[ROOM_REJOINED]: [room: RoomRejoinedEvent];
|
|
1499
1551
|
[WAITING_PARTICIPANT_JOINED]: [participant: WaitingParticipant];
|
|
1500
1552
|
[WAITING_PARTICIPANT_LEFT]: [participantId: string];
|
|
1501
1553
|
[SPOTLIGHT_PARTICIPANT_ADDED]: [participant: ClientView];
|
|
@@ -1514,6 +1566,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1514
1566
|
private cloudRecordingSubscribers;
|
|
1515
1567
|
private connectionErrorSubscribers;
|
|
1516
1568
|
private audioOnlyModeSubscribers;
|
|
1569
|
+
private remoteParticipantQualityReportSubscribers;
|
|
1517
1570
|
private connectionStatusSubscribers;
|
|
1518
1571
|
private liveStreamSubscribers;
|
|
1519
1572
|
private liveCaptionsSubscribers;
|
|
@@ -1538,6 +1591,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1538
1591
|
subscribeToConnectionStatus(callback: (status: ConnectionStatus) => void): () => void;
|
|
1539
1592
|
subscribeToConnectionError(callback: (error: string | null) => void): () => void;
|
|
1540
1593
|
subscribeToAudioOnlyMode(callback: (isEnabled: boolean) => void): () => void;
|
|
1594
|
+
subscribeToRemoteParticipantQualityReport(callback: (report: RemoteParticipantQualityReport) => void): () => void;
|
|
1541
1595
|
subscribeToLiveStream(callback: (status: {
|
|
1542
1596
|
status: "streaming";
|
|
1543
1597
|
} | undefined) => void): () => void;
|
|
@@ -1643,5 +1697,5 @@ declare class WherebyClient {
|
|
|
1643
1697
|
destroy(): void;
|
|
1644
1698
|
}
|
|
1645
1699
|
|
|
1646
|
-
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1647
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1700
|
+
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1701
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
package/dist/index.d.ts
CHANGED
|
@@ -619,6 +619,12 @@ type ChatMessageEvent = NotificationEvent<"chatMessageReceived", ChatMessageEven
|
|
|
619
619
|
interface SignalStatusEventProps {
|
|
620
620
|
}
|
|
621
621
|
type SignalStatusEvent = NotificationEvent<"signalTrouble" | "signalOk", SignalStatusEventProps>;
|
|
622
|
+
interface ReconnectingEventProps {
|
|
623
|
+
}
|
|
624
|
+
type ReconnectingEvent = NotificationEvent<"reconnecting", ReconnectingEventProps>;
|
|
625
|
+
interface ReconnectedEventProps {
|
|
626
|
+
}
|
|
627
|
+
type ReconnectedEvent = NotificationEvent<"reconnected", ReconnectedEventProps>;
|
|
622
628
|
interface SignalClientEventProps {
|
|
623
629
|
}
|
|
624
630
|
type SignalClientEvent = NotificationEvent<"clientUnableToJoinFullRoom", SignalClientEventProps>;
|
|
@@ -646,6 +652,8 @@ type NotificationEventTypes = {
|
|
|
646
652
|
["remoteHandLowered"]: StickyReactionEvent;
|
|
647
653
|
["signalTrouble"]: SignalStatusEvent;
|
|
648
654
|
["signalOk"]: SignalStatusEvent;
|
|
655
|
+
["reconnecting"]: ReconnectingEvent;
|
|
656
|
+
["reconnected"]: ReconnectedEvent;
|
|
649
657
|
["clientUnableToJoinFullRoom"]: SignalClientEvent;
|
|
650
658
|
["requestVideoEnable"]: RequestVideoEvent;
|
|
651
659
|
["requestVideoDisable"]: RequestVideoEvent;
|
|
@@ -800,8 +808,41 @@ declare function createBreakoutGroups(count?: number): {
|
|
|
800
808
|
[groupId: string]: string;
|
|
801
809
|
};
|
|
802
810
|
|
|
811
|
+
declare const CALL_QUALITY_LEVELS: {
|
|
812
|
+
readonly CRITICAL: "critical";
|
|
813
|
+
readonly WARNING: "warning";
|
|
814
|
+
readonly OK: "ok";
|
|
815
|
+
};
|
|
816
|
+
type CallQualityLevel = (typeof CALL_QUALITY_LEVELS)[keyof typeof CALL_QUALITY_LEVELS];
|
|
817
|
+
type ConnectionMonitorReport = {
|
|
818
|
+
critical: Record<string, {
|
|
819
|
+
video?: Array<string>;
|
|
820
|
+
audio?: Array<string>;
|
|
821
|
+
}>;
|
|
822
|
+
warning: Record<string, {
|
|
823
|
+
video?: Array<string>;
|
|
824
|
+
audio?: Array<string>;
|
|
825
|
+
}>;
|
|
826
|
+
};
|
|
827
|
+
type CallQualityScore = {
|
|
828
|
+
total: CallQualityLevel;
|
|
829
|
+
video: CallQualityLevel;
|
|
830
|
+
audio: CallQualityLevel;
|
|
831
|
+
};
|
|
832
|
+
type RemoteCallQualityScores = Record<string, CallQualityScore>;
|
|
833
|
+
type RemoteParticipantQualityReport = Record<string, {
|
|
834
|
+
quality: CallQualityLevel;
|
|
835
|
+
}>;
|
|
836
|
+
type MediaQualityScores = Record<string, {
|
|
837
|
+
video?: CallQualityLevel;
|
|
838
|
+
audio?: CallQualityLevel;
|
|
839
|
+
}>;
|
|
803
840
|
interface ConnectionMonitorState {
|
|
804
841
|
running: boolean;
|
|
842
|
+
issuesReport?: ConnectionMonitorReport;
|
|
843
|
+
remoteQualityScores?: RemoteCallQualityScores;
|
|
844
|
+
localQualityScore?: CallQualityScore;
|
|
845
|
+
mediaScores?: MediaQualityScores;
|
|
805
846
|
stopCallbackFunction?: () => void;
|
|
806
847
|
}
|
|
807
848
|
|
|
@@ -920,6 +961,7 @@ interface RoomConnectionState$1 {
|
|
|
920
961
|
status: ConnectionStatus;
|
|
921
962
|
error: string | null;
|
|
922
963
|
knockResponse: KnockResponse | null;
|
|
964
|
+
isRejoining: boolean;
|
|
923
965
|
}
|
|
924
966
|
|
|
925
967
|
interface RoomIntegration {
|
|
@@ -1432,6 +1474,7 @@ interface RoomConnectionState {
|
|
|
1432
1474
|
fileUploads: FileUpload[];
|
|
1433
1475
|
cloudRecording?: CloudRecordingState;
|
|
1434
1476
|
breakout: BreakoutState;
|
|
1477
|
+
remoteParticipantQualityReport: RemoteParticipantQualityReport;
|
|
1435
1478
|
events?: NotificationsEventEmitter;
|
|
1436
1479
|
isAudioOnlyModeEnabled: boolean;
|
|
1437
1480
|
isCameraEnabled: boolean;
|
|
@@ -1457,6 +1500,7 @@ declare const LIVE_CAPTIONS_STATUS_CHANGED = "live-captions:status-changed";
|
|
|
1457
1500
|
declare const LIVE_TRANSCRIPTION_STATUS_CHANGED = "live-transcription:status-changed";
|
|
1458
1501
|
declare const CONNECTION_ERROR_CHANGED = "connection:error-changed";
|
|
1459
1502
|
declare const AUDIO_ONLY_MODE_CHANGED = "audio-only-mode:changed";
|
|
1503
|
+
declare const REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED = "remote-participant-quality-report:changed";
|
|
1460
1504
|
declare const LOCAL_PARTICIPANT_CHANGED = "local-participant:changed";
|
|
1461
1505
|
declare const LOCAL_SCREENSHARE_STATUS_CHANGED = "local-screenshare:status-changed";
|
|
1462
1506
|
declare const LOCAL_SCREENSHARE_CHANGED = "local-screenshare:state-changed";
|
|
@@ -1473,10 +1517,16 @@ declare const SPOTLIGHT_PARTICIPANT_ADDED = "spotlight:participant-added";
|
|
|
1473
1517
|
declare const SPOTLIGHT_PARTICIPANT_REMOVED = "spotlight:participant-removed";
|
|
1474
1518
|
declare const ROOM_JOINED = "room:joined";
|
|
1475
1519
|
declare const ROOM_JOINED_ERROR = "room:joined:error";
|
|
1520
|
+
declare const ROOM_REJOINED = "room:rejoined";
|
|
1476
1521
|
type RoomJoinedEvent = {
|
|
1477
1522
|
isLocked: boolean;
|
|
1478
1523
|
selfId: string;
|
|
1479
1524
|
};
|
|
1525
|
+
type RoomRejoinedEvent = {
|
|
1526
|
+
selfId: string;
|
|
1527
|
+
previousSelfId: string;
|
|
1528
|
+
selfIdChanged: boolean;
|
|
1529
|
+
};
|
|
1480
1530
|
type RoomConnectionEvents = {
|
|
1481
1531
|
[BREAKOUT_CONFIG_CHANGED]: [config: BreakoutState];
|
|
1482
1532
|
[CAMERA_STATE_CHANGED]: [isCameraEnabled: boolean];
|
|
@@ -1487,6 +1537,7 @@ type RoomConnectionEvents = {
|
|
|
1487
1537
|
[LIVE_TRANSCRIPTION_STATUS_CHANGED]: [status: LiveTranscriptionState | undefined];
|
|
1488
1538
|
[CONNECTION_ERROR_CHANGED]: [error: string | null];
|
|
1489
1539
|
[AUDIO_ONLY_MODE_CHANGED]: [isEnabled: boolean];
|
|
1540
|
+
[REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED]: [report: RemoteParticipantQualityReport];
|
|
1490
1541
|
[LOCAL_PARTICIPANT_CHANGED]: [participant?: LocalParticipantState];
|
|
1491
1542
|
[LOCAL_SCREENSHARE_STATUS_CHANGED]: [status?: LocalScreenshareStatus];
|
|
1492
1543
|
[LOCAL_SCREENSHARE_CHANGED]: [status: LocalScreenshareState | undefined];
|
|
@@ -1496,6 +1547,7 @@ type RoomConnectionEvents = {
|
|
|
1496
1547
|
[SCREENSHARE_STOPPED]: [screenshareId: string];
|
|
1497
1548
|
[ROOM_JOINED]: [room: RoomJoinedEvent];
|
|
1498
1549
|
[ROOM_JOINED_ERROR]: [error: RoomJoinedErrors | string];
|
|
1550
|
+
[ROOM_REJOINED]: [room: RoomRejoinedEvent];
|
|
1499
1551
|
[WAITING_PARTICIPANT_JOINED]: [participant: WaitingParticipant];
|
|
1500
1552
|
[WAITING_PARTICIPANT_LEFT]: [participantId: string];
|
|
1501
1553
|
[SPOTLIGHT_PARTICIPANT_ADDED]: [participant: ClientView];
|
|
@@ -1514,6 +1566,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1514
1566
|
private cloudRecordingSubscribers;
|
|
1515
1567
|
private connectionErrorSubscribers;
|
|
1516
1568
|
private audioOnlyModeSubscribers;
|
|
1569
|
+
private remoteParticipantQualityReportSubscribers;
|
|
1517
1570
|
private connectionStatusSubscribers;
|
|
1518
1571
|
private liveStreamSubscribers;
|
|
1519
1572
|
private liveCaptionsSubscribers;
|
|
@@ -1538,6 +1591,7 @@ declare class RoomConnectionClient extends BaseClient<RoomConnectionState, RoomC
|
|
|
1538
1591
|
subscribeToConnectionStatus(callback: (status: ConnectionStatus) => void): () => void;
|
|
1539
1592
|
subscribeToConnectionError(callback: (error: string | null) => void): () => void;
|
|
1540
1593
|
subscribeToAudioOnlyMode(callback: (isEnabled: boolean) => void): () => void;
|
|
1594
|
+
subscribeToRemoteParticipantQualityReport(callback: (report: RemoteParticipantQualityReport) => void): () => void;
|
|
1541
1595
|
subscribeToLiveStream(callback: (status: {
|
|
1542
1596
|
status: "streaming";
|
|
1543
1597
|
} | undefined) => void): () => void;
|
|
@@ -1643,5 +1697,5 @@ declare class WherebyClient {
|
|
|
1643
1697
|
destroy(): void;
|
|
1644
1698
|
}
|
|
1645
1699
|
|
|
1646
|
-
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1647
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, RemoteParticipant, RemoteParticipantData, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1700
|
+
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_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, DEFAULT_BREAKOUT_TIMER_DURATION, 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_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_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, 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, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1701
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|