@observertc/client-monitor-js 4.0.1 → 4.0.2
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/ClientMonitor.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { InboundTrackMonitor } from './monitors/InboundTrackMonitor';
|
|
|
10
10
|
import { TrackMonitor } from './monitors/TrackMonitor';
|
|
11
11
|
import { ScoreCalculator } from "./scores/ScoreCalculator";
|
|
12
12
|
import { ClientEventPayloadProvider } from './sources/ClientEventPayloadProvider';
|
|
13
|
-
export declare class ClientMonitor<AppData extends Record<string,
|
|
13
|
+
export declare class ClientMonitor<AppData extends Record<string, unknown> = Record<string, unknown>> extends EventEmitter<ClientMonitorEvents> {
|
|
14
14
|
static readonly samplingSchemaVersion = "3.0.0";
|
|
15
15
|
readonly mappedPeerConnections: Map<string, PeerConnectionMonitor>;
|
|
16
16
|
readonly detectors: Detectors;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export function inferSourceType(n){return function(n){if(!n)return!1;const e=n;return Boolean(e.direction)}(n)?"mediasoup-transport":function(n){if(!n)return!1;const e=n;return Boolean(e.handlerName)}(n)?"mediasoup-device":function(n){if(!n)return!1;const e=n;return Boolean(e.setLocalDescription)}(n)?"RTCPeerConnection":void 0}
|