Member Junction
    Preparing search index...

    A shard header plus its Opus packets. Parsed packets may be views into the input buffer.

    interface RecordingShardContents {
        PacketCount: number;
        Packets: Uint8Array<ArrayBufferLike>[];
        SampleCount: number;
        ShardIndex: number;
        StartSample: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    PacketCount: number

    Number of Opus packets that follow the header.

    Packets: Uint8Array<ArrayBufferLike>[]
    SampleCount: number

    Audio samples this shard covers; at most PacketCount * 960.

    ShardIndex: number

    Zero-based position of this shard in the call's shard sequence.

    StartSample: number

    Sample offset (48 kHz) of the shard's first frame from the start of the recording.