@observertc/client-monitor-js
Version:
ObserveRTC Client Integration Javascript Library
31 lines (30 loc) • 1.31 kB
TypeScript
import { RemoteOutboundRtpStats } from "../schema/ClientSample";
import { PeerConnectionMonitor } from "./PeerConnectionMonitor";
export declare class RemoteOutboundRtpMonitor implements RemoteOutboundRtpStats {
private readonly _peerConnection;
private _visited;
timestamp: number;
id: string;
ssrc: number;
kind: string;
transportId?: string | undefined;
codecId?: string | undefined;
packetsSent?: number | undefined;
bytesSent?: number | undefined;
localId?: string | undefined;
remoteTimestamp?: number | undefined;
reportsSent?: number | undefined;
roundTripTime?: number | undefined;
totalRoundTripTime?: number | undefined;
roundTripTimeMeasurements?: number | undefined;
bitrate?: number | undefined;
attachments?: Record<string, unknown> | undefined;
appData?: Record<string, unknown> | undefined;
constructor(_peerConnection: PeerConnectionMonitor, options: RemoteOutboundRtpStats);
get visited(): boolean;
getPeerConnection(): PeerConnectionMonitor;
getInboundRtp(): import("./InboundRtpMonitor").InboundRtpMonitor | undefined;
getCodec(): import("./CodecMonitor").CodecMonitor | undefined;
accept(stats: Omit<RemoteOutboundRtpStats, 'appData'>): void;
createSample(): RemoteOutboundRtpStats;
}