UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

81 lines 3.93 kB
import { Decoder } from "./utils"; import { InboundRtpStats as OutputInboundRtpStats } from "./OutputSamples"; import { ClientSample_PeerConnectionSample_InboundRtpStats as InputInboundRtpStats } from "./InputSamples"; import { AttachmentDecoder } from "./utils"; export declare class InboundRtpDecoder implements Decoder<InputInboundRtpStats, OutputInboundRtpStats | undefined> { private readonly ssrc; private readonly _trackIdentifierDecoder; private _attachmentsDecoder; private _visited; private readonly _idDecoder; private readonly _kindDecoder; private readonly _timestampDecoder; private readonly _audioLevelDecoder; private readonly _bytesReceivedDecoder; private readonly _codecIdDecoder; private readonly _concealedSamplesDecoder; private readonly _concealmentEventsDecoder; private readonly _corruptionMeasurementsDecoder; private readonly _decoderImplementationDecoder; private readonly _estimatedPlayoutTimestampDecoder; private readonly _fecBytesReceivedDecoder; private readonly _fecPacketsDiscardedDecoder; private readonly _fecPacketsReceivedDecoder; private readonly _fecSsrcDecoder; private readonly _firCountDecoder; private readonly _frameHeightDecoder; private readonly _frameWidthDecoder; private readonly _framesAssembledFromMultiplePacketsDecoder; private readonly _framesDecodedDecoder; private readonly _framesDroppedDecoder; private readonly _framesPerSecondDecoder; private readonly _framesReceivedDecoder; private readonly _framesRenderedDecoder; private readonly _freezeCountDecoder; private readonly _headerBytesReceivedDecoder; private readonly _insertedSamplesForDecelerationDecoder; private readonly _jitterDecoder; private readonly _jitterBufferDelayDecoder; private readonly _jitterBufferEmittedCountDecoder; private readonly _jitterBufferMinimumDelayDecoder; private readonly _jitterBufferTargetDelayDecoder; private readonly _keyFramesDecodedDecoder; private readonly _lastPacketReceivedTimestampDecoder; private readonly _midDecoder; private readonly _nackCountDecoder; private readonly _packetsDiscardedDecoder; private readonly _packetsLostDecoder; private readonly _packetsReceivedDecoder; private readonly _pauseCountDecoder; private readonly _pliCountDecoder; private readonly _playoutIdDecoder; private readonly _powerEfficientDecoderDecoder; private readonly _qpSumDecoder; private readonly _remoteIdDecoder; private readonly _removedSamplesForAccelerationDecoder; private readonly _retransmittedBytesReceivedDecoder; private readonly _retransmittedPacketsReceivedDecoder; private readonly _rtxSsrcDecoder; private readonly _silentConcealedSamplesDecoder; private readonly _totalAssemblyTimeDecoder; private readonly _totalAudioEnergyDecoder; private readonly _totalCorruptionProbabilityDecoder; private readonly _totalDecodeTimeDecoder; private readonly _totalFreezesDurationDecoder; private readonly _totalInterFrameDelayDecoder; private readonly _totalPausesDurationDecoder; private readonly _totalProcessingDelayDecoder; private readonly _totalSamplesDurationDecoder; private readonly _totalSamplesReceivedDecoder; private readonly _totalSquaredCorruptionProbabilityDecoder; private readonly _totalSquaredInterFrameDelayDecoder; private readonly _transportIdDecoder; private _actualValue; constructor(ssrc: number, _trackIdentifierDecoder: Decoder<Uint8Array, string>, _attachmentsDecoder: AttachmentDecoder); get visited(): boolean; reset(): void; decode(input: InputInboundRtpStats): OutputInboundRtpStats | undefined; get actualValue(): OutputInboundRtpStats | undefined; set actualValue(sample: OutputInboundRtpStats | undefined); } //# sourceMappingURL=InboundRtpDecoder.d.ts.map