@observertc/samples-decoder
Version:
ObserveRTC Library for Decoding Samples
21 lines • 1.19 kB
TypeScript
import { Decoder } from "./utils";
import { PeerConnectionTransportStats as OutputPeerConnectionTransportStats } from "./OutputSamples";
import { AttachmentDecoder } from "./utils";
import { ClientSample_PeerConnectionSample_PeerConnectionTransportStats as InputPeerConnectionTransportStats } from "./InputSamples";
export declare class PeerConnectionTransportDecoder implements Decoder<InputPeerConnectionTransportStats, OutputPeerConnectionTransportStats | undefined> {
readonly id: string;
private readonly _attachmentsDecoder;
private _visited;
private readonly _idDecoder;
private readonly _timestampDecoder;
private readonly _dataChannelsOpenedDecoder;
private readonly _dataChannelsClosedDecoder;
private _actualValue;
constructor(id: string, _attachmentsDecoder: AttachmentDecoder);
get visited(): boolean;
reset(): void;
decode(input: InputPeerConnectionTransportStats): OutputPeerConnectionTransportStats | undefined;
get actualValue(): OutputPeerConnectionTransportStats | undefined;
set actualValue(sample: OutputPeerConnectionTransportStats | undefined);
}
//# sourceMappingURL=PeerConnectionTransportDecoder.d.ts.map