UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

32 lines 1.48 kB
import { Decoder } from "./utils"; import { IceCandidateStats as OutputIceCandidateStats } from "./OutputSamples"; import { ClientSample_PeerConnectionSample_IceCandidateStats as InputIceCandidateStats } from "./InputSamples"; import { AttachmentDecoder } from "./utils"; export declare class IceCandidateDecoder implements Decoder<InputIceCandidateStats, OutputIceCandidateStats | undefined> { readonly id: string; private readonly _attachmentsDecoder; private _visited; private readonly _timestampDecoder; private readonly _idDecoder; private readonly _transportIdDecoder; private readonly _addressDecoder; private readonly _portDecoder; private readonly _protocolDecoder; private readonly _candidateTypeDecoder; private readonly _priorityDecoder; private readonly _urlDecoder; private readonly _relayProtocolDecoder; private readonly _foundationDecoder; private readonly _relatedAddressDecoder; private readonly _relatedPortDecoder; private readonly _usernameFragmentDecoder; private readonly _tcpTypeDecoder; private _actualValue; constructor(id: string, _attachmentsDecoder: AttachmentDecoder); get visited(): boolean; reset(): void; decode(input: InputIceCandidateStats): OutputIceCandidateStats | undefined; get actualValue(): OutputIceCandidateStats | undefined; set actualValue(sample: OutputIceCandidateStats | undefined); } //# sourceMappingURL=IceCandidateDecoder.d.ts.map