@observertc/samples-decoder
Version:
ObserveRTC Library for Decoding Samples
58 lines • 2.98 kB
TypeScript
import { Decoder, AttachmentDecoder } from "./utils";
import { ClientSample_PeerConnectionSample_OutboundRtpStats as InputOutboundRtpStats, ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations as InputQualityLimitationDurations } from "./InputSamples";
import { OutboundRtpStats as OutputOutboundRtpStats } from "./OutputSamples";
export declare class QualityLimitationDurationsDecoder implements Decoder<InputQualityLimitationDurations, OutputOutboundRtpStats['qualityLimitationDurations'] | undefined> {
actualValue?: OutputOutboundRtpStats['qualityLimitationDurations'];
reset(): void;
decode(input?: InputQualityLimitationDurations): OutputOutboundRtpStats['qualityLimitationDurations'] | undefined;
}
export declare class OutboundRtpDecoder implements Decoder<InputOutboundRtpStats, OutputOutboundRtpStats | undefined> {
readonly ssrc: number;
private readonly _attachmentsDecoder;
private _visited;
private readonly _idDecoder;
private readonly _kindDecoder;
private readonly _timestampDecoder;
private readonly _activeDecoder;
private readonly _bytesSentDecoder;
private readonly _codecIdDecoder;
private readonly _encoderImplementationDecoder;
private readonly _firCountDecoder;
private readonly _frameHeightDecoder;
private readonly _frameWidthDecoder;
private readonly _framesEncodedDecoder;
private readonly _framesPerSecondDecoder;
private readonly _framesSentDecoder;
private readonly _headerBytesSentDecoder;
private readonly _hugeFramesSentDecoder;
private readonly _keyFramesEncodedDecoder;
private readonly _mediaSourceIdDecoder;
private readonly _midDecoder;
private readonly _nackCountDecoder;
private readonly _packetsSentDecoder;
private readonly _pliCountDecoder;
private readonly _powerEfficientEncoderDecoder;
private readonly _qpSumDecoder;
private readonly _qualityLimitationDurationsDecoder;
private readonly _qualityLimitationReasonDecoder;
private readonly _qualityLimitationResolutionChangesDecoder;
private readonly _remoteIdDecoder;
private readonly _retransmittedBytesSentDecoder;
private readonly _retransmittedPacketsSentDecoder;
private readonly _ridDecoder;
private readonly _rtxSsrcDecoder;
private readonly _scalabilityModeDecoder;
private readonly _targetBitrateDecoder;
private readonly _totalEncodeTimeDecoder;
private readonly _totalEncodedBytesTargetDecoder;
private readonly _totalPacketSendDelayDecoder;
private readonly _transportIdDecoder;
private _actualValue;
constructor(ssrc: number, _attachmentsDecoder: AttachmentDecoder);
get visited(): boolean;
reset(): void;
decode(input: InputOutboundRtpStats): OutputOutboundRtpStats | undefined;
get actualValue(): OutputOutboundRtpStats | undefined;
set actualValue(sample: OutputOutboundRtpStats | undefined);
}
//# sourceMappingURL=OutboundRtpDecoder.d.ts.map