foo-webview-sdk
    Preparing search index...

    Interface AudioStreamPayload

    Payload of the audio:stream event. The host stopped writing one epoch of an audio.subscribeStream buffer because the sample rate or channel count changed; the next epoch's buffer arrives as its own sharedbufferreceived event. Other endings (unsubscribe, page gone, host exit) are not reported this way: the buffer's ended flag is the signal. Sent to the page that subscribed.

    interface AudioStreamPayload {
        epoch: number;
        reason: "format-change";
        subscriptionId: string;
        type: "ended";
    }
    Index
    epoch: number

    The epoch that ended; its buffer has the ended flag set.

    reason: "format-change"

    Always format-change.

    subscriptionId: string

    Id from the audio.subscribeStream answer.

    type: "ended"

    Always ended.