UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

25 lines 1.25 kB
import { Decoder } from "./utils"; import { MediaPlayoutStats as OutputMediaPlayoutStats } from "./OutputSamples"; import { AttachmentDecoder } from "./utils"; import { ClientSample_PeerConnectionSample_MediaPlayoutStats as InputMediaPlayoutStats } from "./InputSamples"; export declare class MediaPlayoutStatsDecoder implements Decoder<InputMediaPlayoutStats, OutputMediaPlayoutStats | undefined> { readonly id: string; private readonly _attachmentsDecoder; private _visited; private readonly _timestampDecoder; private readonly _idDecoder; private readonly _kindDecoder; private readonly _synthesizedSamplesDurationDecoder; private readonly _synthesizedSamplesEventsDecoder; private readonly _totalSamplesDurationDecoder; private readonly _totalPlayoutDelayDecoder; private readonly _totalSamplesCountDecoder; private _actualValue; constructor(id: string, _attachmentsDecoder: AttachmentDecoder); get visited(): boolean; reset(): void; decode(input: InputMediaPlayoutStats): OutputMediaPlayoutStats | undefined; get actualValue(): OutputMediaPlayoutStats | undefined; set actualValue(sample: OutputMediaPlayoutStats | undefined); } //# sourceMappingURL=MediaPlayoutDecoder.d.ts.map