@observertc/client-monitor-js
Version:
ObserveRTC Client Integration Javascript Library
32 lines (31 loc) • 1.33 kB
TypeScript
import { RemoteInboundRtpStats } from "../schema/ClientSample";
import { PeerConnectionMonitor } from "./PeerConnectionMonitor";
export declare class RemoteInboundRtpMonitor implements RemoteInboundRtpStats {
private readonly _peerConnection;
private _visited;
timestamp: number;
id: string;
ssrc: number;
kind: string;
transportId?: string | undefined;
codecId?: string | undefined;
packetsReceived?: number | undefined;
packetsLost?: number | undefined;
jitter?: number | undefined;
localId?: string | undefined;
roundTripTime?: number | undefined;
totalRoundTripTime?: number | undefined;
fractionLost?: number | undefined;
roundTripTimeMeasurements?: number | undefined;
packetRate?: number;
deltaPacketsLost?: number;
attachments?: Record<string, unknown> | undefined;
appData?: Record<string, unknown> | undefined;
constructor(_peerConnection: PeerConnectionMonitor, options: RemoteInboundRtpStats);
get visited(): boolean;
getPeerConnection(): PeerConnectionMonitor;
getOutboundRtp(): import("./OutboundRtpMonitor").OutboundRtpMonitor | undefined;
getCodec(): import("./CodecMonitor").CodecMonitor | undefined;
accept(stats: Omit<RemoteInboundRtpStats, 'appData'>): void;
createSample(): RemoteInboundRtpStats;
}