UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

66 lines 2.79 kB
import { Decoder } from "./utils"; import { PeerConnectionSample as OutputPeerConnectionSample } from "./OutputSamples"; import { ClientSample_PeerConnectionSample as InputPeerConnectionSample } from "./InputSamples"; import { ClientSampleDecoder } from "./ClientSampleDecoder"; export declare class PeerConnectionSampleDecoder implements Decoder<InputPeerConnectionSample, OutputPeerConnectionSample | undefined> { readonly peerConnectionId: string; parent: ClientSampleDecoder; private _visited; private _attachmentsDecoder; private _scoreDecoder; private _scoreReasonsDecoder; private _inboundTracksDecoders; private _outboundTracksDecoders; private _codecStatsDecoders; private _inboundRtpDecoders; private _remoteInboundRtpDecoders; private _outboundRtpDecoders; private _remoteOutboundRtpDecoders; private _mediaSourceDecoders; private _mediaPlayoutDecoders; private _peerConnectionTransportDecoders; private _dataChannelDecoders; private _iceTransportDecoders; private _iceCandidateDecoders; private _iceCandidatePairDecoders; private _certificateDecoders; private _actualValue; constructor(peerConnectionId: string, parent: ClientSampleDecoder); get visited(): boolean; reset(): void; decode(input: InputPeerConnectionSample): OutputPeerConnectionSample | undefined; get actualValue(): OutputPeerConnectionSample | undefined; set actualValue(sample: OutputPeerConnectionSample | undefined); private _decodeCodecStats; private _decodeInboundTrack; private _decodeOutboundTrack; private _decodeCertificate; private _decodeInboundRtp; private _decodeOutboundRtp; private _decodeRemoteInboundRtp; private _decodeRemoteOutboundRtp; private _decodeMediaSource; private _decodeMediaPlayout; private _decodePeerConnectionTransport; private _decodeDataChannel; private _decodeIceTransport; private _decodeIceCandidate; private _decodeIceCandidatePair; private _getOrCreateInboundRtpDecoder; private _getOrCreateRemoteInboundRtpDecoder; private _getOrCreateOutboundRtpDecoder; private _getOrCreateRemoteOutboundRtpDecoder; private _getOrCreateMediaPlayoutDecoder; private _getOrCreateMediaSourceDecoder; private _getOrCreatePeerConnectionTransportDecoder; private _getOrCreateIceTransportDecoder; private _getOrCreateIceCandidateDecoder; private _getOrCreateIceCandidatePairDecoder; private _getOrCertificateDecoder; private _getOrCreateDataChannelDecoder; private _getOrCodecStatsDecoder; private _getOrCreateInboundTrackDecoder; private _getOrOutboundTrackDecoder; checkVisitsAndClean(): boolean; } //# sourceMappingURL=PeerConnectionSampleDecoder.d.ts.map