Skip to content

Send client/state: 'error' on audio underflow #63

@balloob

Description

@balloob

Severity: 🟡 medium

Underflow is detected at src/sync_task.cpp:683-687 and logged, but never converted to a client/state: 'error' protocol message. ERROR exists in the protocol enum but is unused. Per spec, an underrun should send state: 'error', mute, buffer, then send state: 'synchronized' on recovery.


Source: docs/stream-sync-correction.md §sendspin-cpp
Full audit branch: claude/stream-sync-correction-sdks-AWoNC
Per-SDK digest: sdk-issues digest

Filed from a cross-SDK conformance audit; see digest for the full per-SDK punch list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions