@observertc/client-monitor-js
Version:
ObserveRTC Client Integration Javascript Library
27 lines (26 loc) • 1.21 kB
TypeScript
import { Detectors } from "../detectors/Detectors";
import { CalculatedScore } from "../scores/CalculatedScore";
import { InboundRtpMonitor } from "./InboundRtpMonitor";
import { InboundTrackSample } from "../schema/ClientSample";
export declare class InboundTrackMonitor {
readonly track: MediaStreamTrack;
private readonly _inboundRtp;
readonly direction = "inbound";
readonly detectors: Detectors;
dtxMode: boolean;
remoteOutboundTrackPaused: boolean;
calculatedScore: CalculatedScore;
get score(): number | undefined;
get scoreReasons(): Record<string, number> | undefined;
attachments?: Record<string, unknown> | undefined;
appData?: Record<string, unknown> | undefined;
constructor(track: MediaStreamTrack, _inboundRtp: InboundRtpMonitor, attachments?: Record<string, unknown>);
getInboundRtp(): InboundRtpMonitor;
getPeerConnection(): import("./PeerConnectionMonitor").PeerConnectionMonitor;
get kind(): import("../schema/W3cStatsIdentifiers").MediaKind;
get bitrate(): number | undefined;
get jitter(): number | undefined;
get fractionLost(): number | undefined;
update(): void;
createSample(): InboundTrackSample;
}