@whereby.com/media 1.15.0 → 1.16.1
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 +5836 -5716
- package/dist/index.d.cts +10 -5
- package/dist/index.d.mts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.mjs +5838 -5719
- package/dist/legacy-esm.js +5838 -5719
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -84,9 +84,12 @@ declare function startPerformanceMonitor({ onMetricsUpdated, onTerminated, isHid
|
|
|
84
84
|
updateHidden: () => void;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
interface Debugger {
|
|
88
|
+
print: (...args: any[]) => void;
|
|
89
|
+
}
|
|
87
90
|
declare class Logger {
|
|
88
91
|
_isEnabled: boolean;
|
|
89
|
-
_debugger
|
|
92
|
+
_debugger?: Debugger;
|
|
90
93
|
constructor();
|
|
91
94
|
isEnabled(): boolean;
|
|
92
95
|
enable(): void;
|
|
@@ -94,7 +97,7 @@ declare class Logger {
|
|
|
94
97
|
info(...params: any[]): void;
|
|
95
98
|
warn(...params: any[]): void;
|
|
96
99
|
error(...params: any[]): void;
|
|
97
|
-
withDebugLogger(myDebugger
|
|
100
|
+
withDebugLogger(myDebugger: Debugger): this;
|
|
98
101
|
debug(...params: any[]): void;
|
|
99
102
|
}
|
|
100
103
|
|
|
@@ -410,7 +413,6 @@ declare class P2pRtcManager implements RtcManager {
|
|
|
410
413
|
ipv6HostCandidateTeredoSeen: any;
|
|
411
414
|
ipv6HostCandidate6to4Seen: any;
|
|
412
415
|
mdnsHostCandidateSeen: any;
|
|
413
|
-
_lastReverseDirectionAttemptByClientId: any;
|
|
414
416
|
_stoppedVideoTrack: any;
|
|
415
417
|
icePublicIPGatheringTimeoutID: any;
|
|
416
418
|
_videoTrackBeingMonitored?: CustomMediaStreamTrack;
|
|
@@ -953,6 +955,9 @@ declare const _default: {
|
|
|
953
955
|
SFU_CONNECTION_CLOSED: string;
|
|
954
956
|
COLOCATION_SPEAKER: string;
|
|
955
957
|
DOMINANT_SPEAKER: string;
|
|
958
|
+
PC_SLD_FAILURE: string;
|
|
959
|
+
PC_ON_ANSWER_FAILURE: string;
|
|
960
|
+
PC_ON_OFFER_FAILURE: string;
|
|
956
961
|
};
|
|
957
962
|
|
|
958
963
|
declare function setVideoBandwidthUsingSetParameters(pc: any, bandwidth: any, logger?: any): any;
|
|
@@ -970,6 +975,7 @@ declare const rtcStats: {
|
|
|
970
975
|
};
|
|
971
976
|
|
|
972
977
|
declare function setCodecPreferenceSDP(sdp: any, vp9On: any, redOn: any): string | undefined;
|
|
978
|
+
declare function cleanSdp(sdp: string): string;
|
|
973
979
|
declare function maybeRejectNoH264(sdp: any): any;
|
|
974
980
|
declare function deprioritizeH264(sdp: any): string;
|
|
975
981
|
declare function replaceSSRCs(currentDescription: any, newDescription: any): any;
|
|
@@ -1014,7 +1020,6 @@ declare class Session {
|
|
|
1014
1020
|
shouldAddLocalVideo: any;
|
|
1015
1021
|
signalingState: any;
|
|
1016
1022
|
srdComplete: any;
|
|
1017
|
-
pendingOffer: any;
|
|
1018
1023
|
constructor({ peerConnectionId, bandwidth, maximumTurnBandwidth, deprioritizeH264Encoding, }: {
|
|
1019
1024
|
peerConnectionId: any;
|
|
1020
1025
|
bandwidth: any;
|
|
@@ -1496,4 +1501,4 @@ declare class RtcStream {
|
|
|
1496
1501
|
static getTypeFromId(id: string): string;
|
|
1497
1502
|
}
|
|
1498
1503
|
|
|
1499
|
-
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|
|
1504
|
+
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, cleanSdp, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|
package/dist/index.d.mts
CHANGED
|
@@ -84,9 +84,12 @@ declare function startPerformanceMonitor({ onMetricsUpdated, onTerminated, isHid
|
|
|
84
84
|
updateHidden: () => void;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
interface Debugger {
|
|
88
|
+
print: (...args: any[]) => void;
|
|
89
|
+
}
|
|
87
90
|
declare class Logger {
|
|
88
91
|
_isEnabled: boolean;
|
|
89
|
-
_debugger
|
|
92
|
+
_debugger?: Debugger;
|
|
90
93
|
constructor();
|
|
91
94
|
isEnabled(): boolean;
|
|
92
95
|
enable(): void;
|
|
@@ -94,7 +97,7 @@ declare class Logger {
|
|
|
94
97
|
info(...params: any[]): void;
|
|
95
98
|
warn(...params: any[]): void;
|
|
96
99
|
error(...params: any[]): void;
|
|
97
|
-
withDebugLogger(myDebugger
|
|
100
|
+
withDebugLogger(myDebugger: Debugger): this;
|
|
98
101
|
debug(...params: any[]): void;
|
|
99
102
|
}
|
|
100
103
|
|
|
@@ -410,7 +413,6 @@ declare class P2pRtcManager implements RtcManager {
|
|
|
410
413
|
ipv6HostCandidateTeredoSeen: any;
|
|
411
414
|
ipv6HostCandidate6to4Seen: any;
|
|
412
415
|
mdnsHostCandidateSeen: any;
|
|
413
|
-
_lastReverseDirectionAttemptByClientId: any;
|
|
414
416
|
_stoppedVideoTrack: any;
|
|
415
417
|
icePublicIPGatheringTimeoutID: any;
|
|
416
418
|
_videoTrackBeingMonitored?: CustomMediaStreamTrack;
|
|
@@ -953,6 +955,9 @@ declare const _default: {
|
|
|
953
955
|
SFU_CONNECTION_CLOSED: string;
|
|
954
956
|
COLOCATION_SPEAKER: string;
|
|
955
957
|
DOMINANT_SPEAKER: string;
|
|
958
|
+
PC_SLD_FAILURE: string;
|
|
959
|
+
PC_ON_ANSWER_FAILURE: string;
|
|
960
|
+
PC_ON_OFFER_FAILURE: string;
|
|
956
961
|
};
|
|
957
962
|
|
|
958
963
|
declare function setVideoBandwidthUsingSetParameters(pc: any, bandwidth: any, logger?: any): any;
|
|
@@ -970,6 +975,7 @@ declare const rtcStats: {
|
|
|
970
975
|
};
|
|
971
976
|
|
|
972
977
|
declare function setCodecPreferenceSDP(sdp: any, vp9On: any, redOn: any): string | undefined;
|
|
978
|
+
declare function cleanSdp(sdp: string): string;
|
|
973
979
|
declare function maybeRejectNoH264(sdp: any): any;
|
|
974
980
|
declare function deprioritizeH264(sdp: any): string;
|
|
975
981
|
declare function replaceSSRCs(currentDescription: any, newDescription: any): any;
|
|
@@ -1014,7 +1020,6 @@ declare class Session {
|
|
|
1014
1020
|
shouldAddLocalVideo: any;
|
|
1015
1021
|
signalingState: any;
|
|
1016
1022
|
srdComplete: any;
|
|
1017
|
-
pendingOffer: any;
|
|
1018
1023
|
constructor({ peerConnectionId, bandwidth, maximumTurnBandwidth, deprioritizeH264Encoding, }: {
|
|
1019
1024
|
peerConnectionId: any;
|
|
1020
1025
|
bandwidth: any;
|
|
@@ -1496,4 +1501,4 @@ declare class RtcStream {
|
|
|
1496
1501
|
static getTypeFromId(id: string): string;
|
|
1497
1502
|
}
|
|
1498
1503
|
|
|
1499
|
-
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|
|
1504
|
+
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, cleanSdp, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|
package/dist/index.d.ts
CHANGED
|
@@ -84,9 +84,12 @@ declare function startPerformanceMonitor({ onMetricsUpdated, onTerminated, isHid
|
|
|
84
84
|
updateHidden: () => void;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
interface Debugger {
|
|
88
|
+
print: (...args: any[]) => void;
|
|
89
|
+
}
|
|
87
90
|
declare class Logger {
|
|
88
91
|
_isEnabled: boolean;
|
|
89
|
-
_debugger
|
|
92
|
+
_debugger?: Debugger;
|
|
90
93
|
constructor();
|
|
91
94
|
isEnabled(): boolean;
|
|
92
95
|
enable(): void;
|
|
@@ -94,7 +97,7 @@ declare class Logger {
|
|
|
94
97
|
info(...params: any[]): void;
|
|
95
98
|
warn(...params: any[]): void;
|
|
96
99
|
error(...params: any[]): void;
|
|
97
|
-
withDebugLogger(myDebugger
|
|
100
|
+
withDebugLogger(myDebugger: Debugger): this;
|
|
98
101
|
debug(...params: any[]): void;
|
|
99
102
|
}
|
|
100
103
|
|
|
@@ -410,7 +413,6 @@ declare class P2pRtcManager implements RtcManager {
|
|
|
410
413
|
ipv6HostCandidateTeredoSeen: any;
|
|
411
414
|
ipv6HostCandidate6to4Seen: any;
|
|
412
415
|
mdnsHostCandidateSeen: any;
|
|
413
|
-
_lastReverseDirectionAttemptByClientId: any;
|
|
414
416
|
_stoppedVideoTrack: any;
|
|
415
417
|
icePublicIPGatheringTimeoutID: any;
|
|
416
418
|
_videoTrackBeingMonitored?: CustomMediaStreamTrack;
|
|
@@ -953,6 +955,9 @@ declare const _default: {
|
|
|
953
955
|
SFU_CONNECTION_CLOSED: string;
|
|
954
956
|
COLOCATION_SPEAKER: string;
|
|
955
957
|
DOMINANT_SPEAKER: string;
|
|
958
|
+
PC_SLD_FAILURE: string;
|
|
959
|
+
PC_ON_ANSWER_FAILURE: string;
|
|
960
|
+
PC_ON_OFFER_FAILURE: string;
|
|
956
961
|
};
|
|
957
962
|
|
|
958
963
|
declare function setVideoBandwidthUsingSetParameters(pc: any, bandwidth: any, logger?: any): any;
|
|
@@ -970,6 +975,7 @@ declare const rtcStats: {
|
|
|
970
975
|
};
|
|
971
976
|
|
|
972
977
|
declare function setCodecPreferenceSDP(sdp: any, vp9On: any, redOn: any): string | undefined;
|
|
978
|
+
declare function cleanSdp(sdp: string): string;
|
|
973
979
|
declare function maybeRejectNoH264(sdp: any): any;
|
|
974
980
|
declare function deprioritizeH264(sdp: any): string;
|
|
975
981
|
declare function replaceSSRCs(currentDescription: any, newDescription: any): any;
|
|
@@ -1014,7 +1020,6 @@ declare class Session {
|
|
|
1014
1020
|
shouldAddLocalVideo: any;
|
|
1015
1021
|
signalingState: any;
|
|
1016
1022
|
srdComplete: any;
|
|
1017
|
-
pendingOffer: any;
|
|
1018
1023
|
constructor({ peerConnectionId, bandwidth, maximumTurnBandwidth, deprioritizeH264Encoding, }: {
|
|
1019
1024
|
peerConnectionId: any;
|
|
1020
1025
|
bandwidth: any;
|
|
@@ -1496,4 +1501,4 @@ declare class RtcStream {
|
|
|
1496
1501
|
static getTypeFromId(id: string): string;
|
|
1497
1502
|
}
|
|
1498
1503
|
|
|
1499
|
-
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|
|
1504
|
+
export { type AddSpotlightRequest, type AudioEnableRequest, type AudioEnableRequestedEvent, type AudioEnabledEvent, BandwidthTester, type ChatMessage, type ClientKickedEvent, type ClientLeftEvent, type ClientMetadataPayload, type ClientMetadataReceivedEvent, type ClientRole, type ClientUnableToJoinEvent, type CloudRecordingStartedEvent, type Credentials, type CustomMediaStreamTrack, EVENTS, type GetConstraintsOptions, type GetDeviceDataResult, type GetMediaConstraintsOptions, type GetStreamOptions, type GetStreamResult, type GetUpdatedDevicesResult, type IdentifyDeviceRequest, type IssuesAndMetricsByView, type JoinRoomRequest, KNOCK_MESSAGES, KalmanFilter, type KnockAcceptedEvent, type KnockRejectedEvent, type KnockRoomRequest, type KnockerLeftEvent, type LiveTranscriptionStartedEvent, type LiveTranscriptionStoppedEvent, Logger, MAXIMUM_TURN_BANDWIDTH, MAXIMUM_TURN_BANDWIDTH_UNLIMITED, MEDIA_JITTER_BUFFER_TARGET, type NewClientEvent, NoDevicesError, P2pRtcManager, PROTOCOL_ERRORS, PROTOCOL_EVENTS, PROTOCOL_REQUESTS, PROTOCOL_RESPONSES, RELAY_MESSAGES, ReconnectManager, type RemoveSpotlightRequest, type RoleName, type RoomJoinedEvent, type RoomKnockedEvent, type RoomLockedEvent, type RoomSessionEndedEvent, type RtcClientConnectionStatusChangedPayload, RtcEventNames, type RtcEvents, type RtcLocalStreamTrackAddedPayload, type RtcLocalStreamTrackRemovedPayload, type RtcManager, type RtcManagerCreatedPayload, RtcManagerDispatcher, RtcStream, type RtcStreamAddedPayload, STREAM_TYPES, type ScreenshareStartedEvent, type ScreenshareStoppedEvent, type SendClientMetadataRequest, ServerSocket, Session, SfuV2Parser, type SignalClient, type SignalEvents, type SignalKnocker, type SignalRequests, type SocketConf, type SocketManager, type Spotlight, type SpotlightAddedEvent, type SpotlightRemovedEvent, type StatsMonitorOptions, type StatsMonitorState, TYPES, type TurnTransportProtocol, VegaConnection, VegaMediaQualityMonitor, VegaRtcManager, type VideoEnableRequest, type VideoEnableRequestedEvent, type VideoEnabledEvent, addAbsCaptureTimeExtMap, addExtMap, assert, buildDeviceList, calculateStd, captureAudioSsrcMetrics, captureCandidatePairInfoMetrics, captureCommonSsrcMetrics, captureSsrcInfo, captureVideoSsrcMetrics, changeMediaDirection, cleanSdp, compareLocalDevices, createACFCalculator, createMicAnalyser, createWorker, deprioritizeH264, detectMicrophoneNotWorking, enumerate, filterMidExtension, filterMsidSemantic, fromLocation, generateByteString, getConstraints, getCurrentPeerConnections, getDeviceData, getDisplayMedia, getHandler, getIssuesAndMetrics, getMediaConstraints, getMediaSettings, getOptimalBitrate, getPeerConnectionIndex, getStats, getStream, getStream2, getUpdatedDevices, getUpdatedStats, getUserMedia, hasGetDisplayMedia, ipRegex, isMobile, isRelayed, maybeRejectNoH264, maybeTurnOnly, modifyMediaCapabilities, removePeerConnection, replaceSSRCs, replaceTracksInStream, _default as rtcManagerEvents, rtcStats, setClientProvider, setCodecPreferenceSDP, setPeerConnectionsForTests, setVideoBandwidthUsingSetParameters, standardDeviation, startPerformanceMonitor, stopStreamTracks, subscribeIssues, subscribeStats, variance };
|