Skip to content

fix: ASR 音频结束帧并发发送 — 尾句可能丢失 #55

Description

@appergb

现象 (Codex)

`asr/volcengine.rs` 把音频帧 spawn 后未 await,结束帧可与未完成的发送并发;尾部音频发送失败仅写日志,导致用户最后一句被吞。

位置

  • `asr/volcengine.rs:445`
  • `asr/volcengine.rs:475`
  • `asr/volcengine.rs:209`

期望

串行化音频帧发送,结束帧前 await 所有 pending;失败时上报 error 而不是仅 log。

严重度

high — 「用户的话不能丢」是产品红线,触发了核心 invariant。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions