@whereby.com/media 11.1.2 → 11.2.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.d.ts CHANGED
@@ -72,6 +72,8 @@ interface SsrcStats {
72
72
  audioAcceleration?: number;
73
73
  sourceHeight?: number;
74
74
  jitter?: number;
75
+ remoteReportTimestamp?: number;
76
+ selectedCandidatePairId?: string;
75
77
  roundTripTime?: number;
76
78
  codec?: string;
77
79
  byteCount?: number;
@@ -252,7 +254,6 @@ interface StatsMonitorState {
252
254
  getClients: () => StatsClient[];
253
255
  lastPressureObserverRecord?: PressureRecord;
254
256
  lastUpdateTime: number;
255
- nextTimeout?: number;
256
257
  pressureObserver?: PressureObserver;
257
258
  renderedDimensionsByTrack: Record<string, RenderedDimensionsReport>;
258
259
  statsByView: Record<string, ViewStats>;
@@ -278,6 +279,7 @@ declare function subscribeStats(subscription: StatsSubscription, options?: Stats
278
279
 
279
280
  declare function captureCandidatePairInfoMetrics(cpMetrics: any, currentCptats: any, prevCptats: any, timeDiff: any, report: any): void;
280
281
  declare function captureSsrcInfo(ssrcMetrics: any, currentSsrcStats: any, prevSsrcStats: any, timeDiff: any, report: any): void;
282
+ declare function getSelectedCandidatePairId(report: any, transportId: string | undefined): string | undefined;
281
283
  declare function captureCommonSsrcMetrics(ssrcMetrics: any, currentSsrcStats: any, prevSsrcStats: any, timeDiff: any, report: any): void;
282
284
  declare function captureAudioSsrcMetrics(ssrcMetrics: any, currentSsrcStats: any, prevSsrcStats: any, timeDiff: any, report: any): void;
283
285
  declare function captureVideoSsrcMetrics(ssrcMetrics: any, currentSsrcStats: any, prevSsrcStats: any, timeDiff: any, report: any): void;
@@ -427,12 +429,19 @@ type DataConsumerAppData = {
427
429
  };
428
430
 
429
431
  type VegaAnalytics = {
432
+ avgPreferredLayerSwitchLatencyMs: number | undefined;
433
+ camOutboundCongestedFraction: number | undefined;
434
+ camOutboundRttInflationMs: number | undefined;
430
435
  camTrackEndedCount: number;
436
+ highestPreferredLayerChangeCounts: Record<string, number>;
431
437
  micTrackEndedCount: number;
438
+ numHighestPreferredLayerChanges: number;
432
439
  numIceConnected: number;
433
440
  numIceDisconnected: number;
434
441
  numIceFailed: number;
435
442
  numNewPc: number;
443
+ numPreferredSpatialLayerChanges: number;
444
+ preferredSpatialLayerChangeCounts: Record<string, number>;
436
445
  sfuMsFromOfflineToClose: number;
437
446
  sfuOfflineToCloseCount: number;
438
447
  sfuOfflineWhileConnectedCount: number;
@@ -453,7 +462,9 @@ type VegaAnalytics = {
453
462
  vegaWebcamProducerFailed: number;
454
463
  };
455
464
 
456
- type VegaAnalyticMetric = keyof VegaAnalytics;
465
+ type VegaAnalyticMetric = {
466
+ [K in keyof VegaAnalytics]: VegaAnalytics[K] extends number ? K : never;
467
+ }[keyof VegaAnalytics];
457
468
 
458
469
  type VegaIncrementAnalyticMetric = (metric: VegaAnalyticMetric) => void;
459
470
 
@@ -1061,10 +1072,72 @@ interface RoomJoinedSuccess {
1061
1072
  clientClaim: string;
1062
1073
  breakout?: BreakoutConfig;
1063
1074
  eventClaim: string;
1075
+ roomIntegrationSession?: RoomIntegrationSessionEvent[];
1064
1076
  }
1065
1077
  type RoomJoinedEvent = RoomJoinedErrors | RoomJoinedSuccess;
1066
1078
  interface BreakoutSessionUpdatedEvent extends BreakoutConfig {
1067
1079
  }
1080
+ type RoomIntegrationProps = {
1081
+ [key: string]: string | number | boolean | null;
1082
+ };
1083
+ interface RoomIntegrationSessionState {
1084
+ tagName: string;
1085
+ shareUrl: string;
1086
+ props: RoomIntegrationProps;
1087
+ userId?: string;
1088
+ clientId: string;
1089
+ }
1090
+ interface RoomIntegrationSessionTiming {
1091
+ roomIntegrationSessionStartedAt?: number;
1092
+ }
1093
+ interface RoomIntegrationSessionEvent extends RoomIntegrationSessionState, RoomIntegrationSessionTiming {
1094
+ roomIntegrationId: number | string;
1095
+ roomIntegrationSessionId: string;
1096
+ breakoutGroupId?: string | null;
1097
+ }
1098
+ declare const ROOM_INTEGRATION_ERROR_CODES: readonly ["not_in_a_room", "forbidden", "missing_parameters", "invalid_parameters", "internal_server_error"];
1099
+ type RoomIntegrationErrorCode = (typeof ROOM_INTEGRATION_ERROR_CODES)[number];
1100
+ interface RoomIntegrationError {
1101
+ error: string;
1102
+ }
1103
+ declare function isRoomIntegrationErrorCode(error: string): error is RoomIntegrationErrorCode;
1104
+ interface RoomIntegrationStartedSuccess extends RoomIntegrationSessionTiming {
1105
+ roomIntegrationId: number | string;
1106
+ roomIntegrationSessionId: string;
1107
+ breakoutGroupId?: string | null;
1108
+ state: RoomIntegrationSessionState;
1109
+ }
1110
+ type RoomIntegrationStartedEvent = RoomIntegrationStartedSuccess | RoomIntegrationError;
1111
+ interface RoomIntegrationStoppedSuccess {
1112
+ roomIntegrationSessionId: string;
1113
+ intent?: "stop" | "end";
1114
+ clientId?: string;
1115
+ }
1116
+ type RoomIntegrationStoppedEvent = RoomIntegrationStoppedSuccess | RoomIntegrationError;
1117
+ interface RoomIntegrationPropsUpdatedSuccess {
1118
+ roomIntegrationSessionId: string;
1119
+ props: RoomIntegrationProps;
1120
+ }
1121
+ type RoomIntegrationPropsUpdatedEvent = RoomIntegrationPropsUpdatedSuccess | RoomIntegrationError;
1122
+ interface RoomIntegrationEnabledEvent {
1123
+ roomIntegrationId: number | string;
1124
+ }
1125
+ interface RoomIntegrationDisabledEvent {
1126
+ roomIntegrationId: number | string;
1127
+ }
1128
+ interface StartRoomIntegrationRequest {
1129
+ roomIntegrationId: number;
1130
+ breakoutGroupId: string | null;
1131
+ state: RoomIntegrationSessionState;
1132
+ }
1133
+ interface StopRoomIntegrationRequest {
1134
+ roomIntegrationSessionId: string;
1135
+ intent: "stop" | "end";
1136
+ }
1137
+ interface UpdateRoomIntegrationPropsRequest {
1138
+ roomIntegrationSessionId: string;
1139
+ props: RoomIntegrationProps;
1140
+ }
1068
1141
  interface RoomKnockedEvent {
1069
1142
  clientId: string;
1070
1143
  displayName: string | null;
@@ -1172,6 +1245,11 @@ interface SignalEvents {
1172
1245
  knock_handled: KnockAcceptedEvent | KnockOnHoldEvent | KnockRejectedEvent;
1173
1246
  knocker_left: KnockerLeftEvent;
1174
1247
  new_client: NewClientEvent;
1248
+ room_integration_started: RoomIntegrationStartedEvent;
1249
+ room_integration_stopped: RoomIntegrationStoppedEvent;
1250
+ room_integration_props_updated: RoomIntegrationPropsUpdatedEvent;
1251
+ room_integration_enabled: RoomIntegrationEnabledEvent;
1252
+ room_integration_disabled: RoomIntegrationDisabledEvent;
1175
1253
  room_joined: RoomJoinedEvent;
1176
1254
  room_knocked: RoomKnockedEvent;
1177
1255
  room_left: void;
@@ -1306,6 +1384,9 @@ interface SignalRequests {
1306
1384
  set_lock: {
1307
1385
  locked: boolean;
1308
1386
  };
1387
+ start_room_integration: StartRoomIntegrationRequest;
1388
+ stop_room_integration: StopRoomIntegrationRequest;
1389
+ update_room_integration_props: UpdateRoomIntegrationPropsRequest;
1309
1390
  start_live_transcription: void;
1310
1391
  start_recording: {
1311
1392
  recording: string;
@@ -1374,6 +1455,16 @@ declare class BandwidthTester extends EventEmitter {
1374
1455
  }
1375
1456
 
1376
1457
  declare const MEDIA_JITTER_BUFFER_TARGET = 400;
1458
+ declare const INITIAL_CONSUMER_SPATIAL_LAYER = 1;
1459
+ declare const INITIAL_HIGHEST_PREFERRED_LAYER = 1;
1460
+ declare const LOWEST_SVC_LAYER_MAX_BITRATE = 100000;
1461
+ declare const MIDDLE_SVC_LAYER_MAX_BITRATE = 500000;
1462
+ declare const PREFERRED_LAYER_SWITCH_POLL_INTERVAL_MS = 100;
1463
+ declare const PREFERRED_LAYER_SWITCH_WATCH_TIMEOUT_MS = 10000;
1464
+ declare const MAX_CONCURRENT_PREFERRED_LAYER_SWITCH_WATCHES = 5;
1465
+ declare const CONGESTED_RTT_INFLATION_MS = 100;
1466
+ declare const CONGESTED_FRACTION_LOST = 0.02;
1467
+ declare const CAM_SAMPLES_SKIPPED_AFTER_CANDIDATE_PAIR_CHANGE = 2;
1377
1468
 
1378
1469
  declare function getMediaConstraints({ disableAEC, disableAGC, hd, lax, lowDataMode, preferredDeviceIds, resolution, simulcast, widescreen, }: GetMediaConstraintsOptions): any;
1379
1470
  declare function getConstraints({ devices, videoId, audioId, options, type }: GetConstraintsOptions): any;
@@ -1487,6 +1578,9 @@ declare const PROTOCOL_RESPONSES: {
1487
1578
  PLAY_CLIENT_STICKER: string;
1488
1579
  ROOM_INTEGRATION_ENABLED: string;
1489
1580
  ROOM_INTEGRATION_DISABLED: string;
1581
+ ROOM_INTEGRATION_STARTED: string;
1582
+ ROOM_INTEGRATION_STOPPED: string;
1583
+ ROOM_INTEGRATION_PROPS_UPDATED: string;
1490
1584
  ROOM_JOINED: string;
1491
1585
  ROOM_KNOCKED: string;
1492
1586
  ROOM_LEFT: string;
@@ -1932,6 +2026,12 @@ declare const standardDeviation: (arr: any[]) => {
1932
2026
  };
1933
2027
  declare const variance: (arr: any[], usePopulation?: boolean) => number;
1934
2028
 
2029
+ declare function createMetricStats(): {
2030
+ count: number;
2031
+ sum: number;
2032
+ };
2033
+ type MetricStats = ReturnType<typeof createMetricStats>;
2034
+
1935
2035
  type ConnectionInfo = {
1936
2036
  host: string;
1937
2037
  dc: string;
@@ -1970,6 +2070,9 @@ declare function createVegaConnectionManager(config: {
1970
2070
  networkIsPossiblyDown: () => void;
1971
2071
  };
1972
2072
 
2073
+ type RtpEncodingParametersWithScalabilityMode = RTCRtpEncodingParameters & {
2074
+ scalabilityMode?: string;
2075
+ };
1973
2076
  declare class VegaRtcManager implements RtcManager {
1974
2077
  _selfId: string;
1975
2078
  _room: any;
@@ -2005,7 +2108,35 @@ declare class VegaRtcManager implements RtcManager {
2005
2108
  _micScoreProducer: any;
2006
2109
  _micScoreProducerPromise: any;
2007
2110
  _webcamProducer: any;
2111
+ _webcamProducerOriginalSvcScalabilityMode: string | undefined;
2112
+ _webcamProducerOriginalSvcMaxBitrate: number | undefined;
2113
+ _webcamProducerHighestPreferredLayer: number | undefined;
2114
+ _highestPreferredLayerUpdate: Promise<void> | null;
2115
+ _highestPreferredLayerUpdatePending: boolean;
2008
2116
  _webcamProducerPromise: any;
2117
+ _preferredLayerSwitchLatencyStats: MetricStats;
2118
+ _preferredLayerSwitchWatches: Map<string, {
2119
+ stop: () => void;
2120
+ }>;
2121
+ _statsSubscription: {
2122
+ stop: () => void;
2123
+ } | null;
2124
+ _lastSeenRemoteReportTimestamps: Map<string, number>;
2125
+ _camOutboundCandidatePairId: string | undefined;
2126
+ _camOutboundSamplesToSkip: number;
2127
+ _camOutboundPathRtt: {
2128
+ sumMs: number;
2129
+ count: number;
2130
+ minMs: number | undefined;
2131
+ };
2132
+ _camOutboundRttInflation: {
2133
+ sumMs: number;
2134
+ count: number;
2135
+ };
2136
+ _camOutboundSamples: {
2137
+ total: number;
2138
+ congested: number;
2139
+ };
2009
2140
  _webcamPaused: any;
2010
2141
  _screenVideoProducer: any;
2011
2142
  _screenVideoProducerPromise: any;
@@ -2110,6 +2241,22 @@ declare class VegaRtcManager implements RtcManager {
2110
2241
  width: number;
2111
2242
  height: number;
2112
2243
  }): void;
2244
+ _applyStreamResolution(streamId: string): void;
2245
+ _watchForPreferredLayerSwitch(consumerId: string, consumer: any, { toHigherLayer }: {
2246
+ toHigherLayer: boolean;
2247
+ }): void;
2248
+ _getConsumerFrameSize(consumer: any): Promise<{
2249
+ width?: number;
2250
+ height?: number;
2251
+ } | undefined>;
2252
+ _recordPreferredLayerSwitchLatency(latencyMs: number): void;
2253
+ _onUpdatedStats(statsByView: Record<string, any>): void;
2254
+ _recordCamOutboundSample(newRemoteReports: SsrcStats[]): void;
2255
+ _followCamOutboundCandidatePair({ selectedCandidatePairId }: SsrcStats): void;
2256
+ _finishCamOutboundRttPath(): void;
2257
+ _updateCamOutboundAnalytics(): void;
2258
+ _startWebcamStatsSubscription(): void;
2259
+ _stopWebcamStatsSubscription(): void;
2113
2260
  close(): void;
2114
2261
  disconnectAll(): void;
2115
2262
  sendStatsCustomEvent(eventName: string, data?: any): void;
@@ -2120,6 +2267,7 @@ declare class VegaRtcManager implements RtcManager {
2120
2267
  _monitorVideoTrack(track: MediaStreamTrack): void;
2121
2268
  _onMessage(message: any): Promise<void>;
2122
2269
  _onConsumerReady(options: ConsumerOptions<ConsumerAppData>): Promise<void>;
2270
+ _reapplyStreamResolutions(): void;
2123
2271
  _onConsumerClosed({ consumerId, reason }: {
2124
2272
  consumerId: string;
2125
2273
  reason: string;
@@ -2140,6 +2288,19 @@ declare class VegaRtcManager implements RtcManager {
2140
2288
  kind: string;
2141
2289
  score: number;
2142
2290
  }): void;
2291
+ _getSvcEncodingUpdate(encoding: RtpEncodingParametersWithScalabilityMode, spatialLayer: number): {
2292
+ scalabilityMode: string;
2293
+ scaleResolutionDownBy: number;
2294
+ maxBitrate: number | undefined;
2295
+ } | undefined;
2296
+ _onChangedHighestPreferredLayer({ producerId, spatialLayer }: {
2297
+ producerId: string;
2298
+ spatialLayer: number;
2299
+ }): Promise<void>;
2300
+ _syncWebcamEncoderToHighestPreferredLayer(): Promise<void>;
2301
+ _applyPendingHighestPreferredLayerUpdates(): Promise<void>;
2302
+ _applyHighestPreferredLayerToWebcamEncoder(): Promise<void>;
2303
+ _incrementHistogramCount(histogram: Record<string, number>, key: string): void;
2143
2304
  _onDataConsumerReady(options: DataConsumerOptions<DataConsumerAppData>): Promise<void>;
2144
2305
  _onDataConsumerClosed({ dataConsumerId, reason }: {
2145
2306
  dataConsumerId: string;
@@ -2159,5 +2320,5 @@ declare class VegaRtcManager implements RtcManager {
2159
2320
  hasClient(clientId: string): boolean;
2160
2321
  }
2161
2322
 
2162
- export { ADDITIONAL_SCREEN_SHARE_SETTINGS, AUDIO_SETTINGS, BandwidthTester, CAMERA_STREAM_ID, EVENTS, FILE_SHARE_ERROR_CODES, KNOCK_MESSAGES, KalmanFilter, Logger, MEDIA_JITTER_BUFFER_TARGET, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, RtcEventNames, RtcManagerDispatcher, SCREEN_SHARE_SETTINGS, SCREEN_SHARE_SIMULCAST_SETTINGS, STREAM_TYPES, ServerSocket, Session, SfuV2Parser, TYPES, VIDEO_SETTINGS_HD, VIDEO_SETTINGS_SD, VIDEO_SETTINGS_VP9, VIDEO_SETTINGS_VP9_LOW_BANDWIDTH, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, cleanSdp, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, enumerate, external_stun_servers, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getInitialStream, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getMediasoupDeviceAsync, getNumFailedStatsReports, getNumFailedTrackSsrcLookups, getNumMissingTrackSsrcLookups, getPeerConnectionIndex, getStats, getStream, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isFileShareError, isMobile, issueDetectorOrMetricEnabled, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, sortCodecs, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, trackAnnotations, turnServerOverride, updateRenderedDimensions, variance };
2163
- export type { AddCameraStreamOptions, AddSpotlightRequest, AudioEnableRequest, AudioEnableRequestedEvent, AudioEnabledEvent, BreakoutConfig, BreakoutGroupJoinedEvent, BreakoutSessionUpdateRequest, BreakoutSessionUpdatedEvent, BuildDeviceListOptions, CannotJoinUnclaimedRoomError, ChatFileShare, ChatMessage, ChatMessageError, ChatMessageRemoved, ChatMessageRequest, ClearableTimeout, ClientKickedEvent, ClientLeftEvent, ClientMetadataPayload, ClientMetadataReceivedEvent, ClientRole, ClientUnableToJoinEvent, CloudRecordingStartedEvent, Codec, ConnectionStatus, Credentials, FileShareErrorCode, FileUploadUrl, ForbiddenError, ForbiddenErrorNames, GetConstraintsOptions, GetDeviceDataResult, GetInitialStreamOptions, GetMediaConstraintsOptions, GetStreamOptions, GetStreamResult, GetUpdatedDevicesResult, GetUserMediaAttempt, GetUserMediaAttemptOutcome, HostPresenceControlsError, IdentifyDeviceRequest, InternalServerError, InvalidAssistantKeyError, IssuesAndMetricsByView, JoinRoomRequest, KnockAcceptedEvent, KnockOnHoldEvent, KnockRejectedEvent, KnockResponse, KnockResponseSender, KnockRoomRequest, KnockerLeftEvent, LiveCaptionEvent, LiveCaptionsStartedEvent, LiveCaptionsStoppedEvent, LiveTranscriptionStartedEvent, LiveTranscriptionStoppedEvent, MaxViewerLimitReachedError, MediaPrefs, Metric, NewClientEvent, OrganizationAssistantNotEnabledError, OrganizationAssistantNotFoundError, OrganizationPlanExhaustedError, RemoveScreenshareStreamOptions, RemoveSpotlightRequest, RoleName, RoomConcurrencyControlsError, RoomEmptyError, RoomFullError, RoomJoinPermissionDeniedError, RoomJoinedErrors, RoomJoinedEvent, RoomJoinedSuccess, RoomKnockedEvent, RoomLockedError, RoomLockedEvent, RoomMeetingTimeExhaustedError, RoomMode, RoomSessionEndedEvent, RtcClientConnectionStatusChangedPayload, RtcEventEmitter, RtcEvents, RtcLocalStreamTrackAddedPayload, RtcLocalStreamTrackRemovedPayload, RtcManager, RtcManagerCreatedPayload, RtcManagerOptions, RtcStreamAddedPayload, ScreenshareEnableRequest, ScreenshareEnableRequestedEvent, ScreenshareStartedEvent, ScreenshareStoppedEvent, SendClientMetadataRequest, SignalClient, SignalEvents, SignalIceCandidateMessage, SignalIceEndOfCandidatesMessage, SignalIceServer, SignalKnocker, SignalMediaServerConfig, SignalRTCSessionDescription, SignalReadyToReceiveOfferMessage, SignalRequests, SignalRoom, SignalSDPMessage, SignalSFUServer, SignalTurnServer, SocketConf, SocketManager, Spotlight, SpotlightAddedEvent, SpotlightRemovedEvent, StatsMonitorOptions, StatsMonitorState, StatsSubscription, TurnTransportProtocol, UniqueRoleAlreadyInRoomError, UpdatedDeviceInfo, UpdatedDevicesInfo, VegaConnectionOptions, VegaRtcManagerOptions, VideoEnableRequest, VideoEnableRequestedEvent, VideoEnabledEvent, WebRTCProvider };
2323
+ export { ADDITIONAL_SCREEN_SHARE_SETTINGS, AUDIO_SETTINGS, BandwidthTester, CAMERA_STREAM_ID, CAM_SAMPLES_SKIPPED_AFTER_CANDIDATE_PAIR_CHANGE, CONGESTED_FRACTION_LOST, CONGESTED_RTT_INFLATION_MS, EVENTS, FILE_SHARE_ERROR_CODES, INITIAL_CONSUMER_SPATIAL_LAYER, INITIAL_HIGHEST_PREFERRED_LAYER, KNOCK_MESSAGES, KalmanFilter, LOWEST_SVC_LAYER_MAX_BITRATE, Logger, MAX_CONCURRENT_PREFERRED_LAYER_SWITCH_WATCHES, MEDIA_JITTER_BUFFER_TARGET, MIDDLE_SVC_LAYER_MAX_BITRATE, NoDevicesError, P2pRtcManager, PREFERRED_LAYER_SWITCH_POLL_INTERVAL_MS, PREFERRED_LAYER_SWITCH_WATCH_TIMEOUT_MS, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ROOM_INTEGRATION_ERROR_CODES, ReconnectManager, RtcEventNames, RtcManagerDispatcher, SCREEN_SHARE_SETTINGS, SCREEN_SHARE_SIMULCAST_SETTINGS, STREAM_TYPES, ServerSocket, Session, SfuV2Parser, TYPES, VIDEO_SETTINGS_HD, VIDEO_SETTINGS_SD, VIDEO_SETTINGS_VP9, VIDEO_SETTINGS_VP9_LOW_BANDWIDTH, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, cleanSdp, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, enumerate, external_stun_servers, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getInitialStream, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getMediasoupDeviceAsync, getNumFailedStatsReports, getNumFailedTrackSsrcLookups, getNumMissingTrackSsrcLookups, getPeerConnectionIndex, getSelectedCandidatePairId, getStats, getStream, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isFileShareError, isMobile, isRoomIntegrationErrorCode, issueDetectorOrMetricEnabled, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, sortCodecs, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, trackAnnotations, turnServerOverride, updateRenderedDimensions, variance };
2324
+ export type { AddCameraStreamOptions, AddSpotlightRequest, AudioEnableRequest, AudioEnableRequestedEvent, AudioEnabledEvent, BreakoutConfig, BreakoutGroupJoinedEvent, BreakoutSessionUpdateRequest, BreakoutSessionUpdatedEvent, BuildDeviceListOptions, CannotJoinUnclaimedRoomError, ChatFileShare, ChatMessage, ChatMessageError, ChatMessageRemoved, ChatMessageRequest, ClearableTimeout, ClientKickedEvent, ClientLeftEvent, ClientMetadataPayload, ClientMetadataReceivedEvent, ClientRole, ClientUnableToJoinEvent, CloudRecordingStartedEvent, Codec, ConnectionStatus, Credentials, FileShareErrorCode, FileUploadUrl, ForbiddenError, ForbiddenErrorNames, GetConstraintsOptions, GetDeviceDataResult, GetInitialStreamOptions, GetMediaConstraintsOptions, GetStreamOptions, GetStreamResult, GetUpdatedDevicesResult, GetUserMediaAttempt, GetUserMediaAttemptOutcome, HostPresenceControlsError, IdentifyDeviceRequest, InternalServerError, InvalidAssistantKeyError, IssuesAndMetricsByView, JoinRoomRequest, KnockAcceptedEvent, KnockOnHoldEvent, KnockRejectedEvent, KnockResponse, KnockResponseSender, KnockRoomRequest, KnockerLeftEvent, LiveCaptionEvent, LiveCaptionsStartedEvent, LiveCaptionsStoppedEvent, LiveTranscriptionStartedEvent, LiveTranscriptionStoppedEvent, MaxViewerLimitReachedError, MediaPrefs, Metric, NewClientEvent, OrganizationAssistantNotEnabledError, OrganizationAssistantNotFoundError, OrganizationPlanExhaustedError, RemoveScreenshareStreamOptions, RemoveSpotlightRequest, RoleName, RoomConcurrencyControlsError, RoomEmptyError, RoomFullError, RoomIntegrationDisabledEvent, RoomIntegrationEnabledEvent, RoomIntegrationError, RoomIntegrationErrorCode, RoomIntegrationProps, RoomIntegrationPropsUpdatedEvent, RoomIntegrationPropsUpdatedSuccess, RoomIntegrationSessionEvent, RoomIntegrationSessionState, RoomIntegrationStartedEvent, RoomIntegrationStartedSuccess, RoomIntegrationStoppedEvent, RoomIntegrationStoppedSuccess, RoomJoinPermissionDeniedError, RoomJoinedErrors, RoomJoinedEvent, RoomJoinedSuccess, RoomKnockedEvent, RoomLockedError, RoomLockedEvent, RoomMeetingTimeExhaustedError, RoomMode, RoomSessionEndedEvent, RtcClientConnectionStatusChangedPayload, RtcEventEmitter, RtcEvents, RtcLocalStreamTrackAddedPayload, RtcLocalStreamTrackRemovedPayload, RtcManager, RtcManagerCreatedPayload, RtcManagerOptions, RtcStreamAddedPayload, ScreenshareEnableRequest, ScreenshareEnableRequestedEvent, ScreenshareStartedEvent, ScreenshareStoppedEvent, SendClientMetadataRequest, SignalClient, SignalEvents, SignalIceCandidateMessage, SignalIceEndOfCandidatesMessage, SignalIceServer, SignalKnocker, SignalMediaServerConfig, SignalRTCSessionDescription, SignalReadyToReceiveOfferMessage, SignalRequests, SignalRoom, SignalSDPMessage, SignalSFUServer, SignalTurnServer, SocketConf, SocketManager, Spotlight, SpotlightAddedEvent, SpotlightRemovedEvent, StartRoomIntegrationRequest, StatsMonitorOptions, StatsMonitorState, StatsSubscription, StopRoomIntegrationRequest, TurnTransportProtocol, UniqueRoleAlreadyInRoomError, UpdateRoomIntegrationPropsRequest, UpdatedDeviceInfo, UpdatedDevicesInfo, VegaConnectionOptions, VegaRtcManagerOptions, VideoEnableRequest, VideoEnableRequestedEvent, VideoEnabledEvent, WebRTCProvider };