UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

22 lines 1.09 kB
import { Decoder } from "./utils"; import { OutboundTrackSample as OutputOutboundTrackSample } from "./OutputSamples"; import { AttachmentDecoder } from "./utils"; import { ClientSample_PeerConnectionSample_OutboundTrackSample as InputOutboundTrackSample } from "./InputSamples"; export declare class OutboundTrackDecoder implements Decoder<InputOutboundTrackSample, OutputOutboundTrackSample | undefined> { readonly id: string; private readonly _attachmentsDecoder; private _visited; private readonly _timestampDecoder; private readonly _idDecoder; private readonly _kindDecoder; private readonly _scoreDecoder; private readonly _scoreReasonsDecoder; private _actualValue; constructor(id: string, _attachmentsDecoder: AttachmentDecoder); get visited(): boolean; reset(): void; decode(input: InputOutboundTrackSample): OutputOutboundTrackSample | undefined; get actualValue(): OutputOutboundTrackSample | undefined; set actualValue(sample: OutputOutboundTrackSample | undefined); } //# sourceMappingURL=OutboundTrackDecoder.d.ts.map