import { PayloadDescriptor } from './payload-description'; /** * @class * Describes the payload of a buffer, how many samples it contains of that, and time-contextual information * for decrypting/decoding/presentation of the buffer. * * Generic media-key and parameters can be included as metadata around the buffer. * * Many buffer "slices" can (but must not) share one buffer-properties object instance, where that has advantages. * */ export declare class BufferProperties extends PayloadDescriptor { samplesCount: number; isBitstreamHeader: boolean; isKeyframe: boolean; timestampDelta: number; mediaKey: any; tags: Set; /** * NOTE: Keep this in sync with SocketDescriptor.fromJson * @param props */ static clone(props: BufferProperties): BufferProperties; static fromTransferable(props: BufferProperties): BufferProperties; constructor(mimeType?: string, sampleRateInteger?: number, sampleDepth?: number, sampleDurationNumerator?: number, samplesCount?: number, isBitstreamHeader?: boolean, isKeyframe?: boolean, timestampDelta?: number, mediaKey?: any, tags?: Set); clone(): BufferProperties; /** * Normal units [s] */ getSliceDuration(): number; toString(): string; }