Two sendspin clients are unable to play simultaneously in dual mono setup
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
Reproduce the dual-mono setup with Sendspin 5.9.0 and MA 2.8.1, starting playback on both clients. Trace aiosendspin.client.client.py at _handle_audio_chunk and sendspin.audio_connector.py at AudioStreamHandler._on_audio_chunk, then verify both clients can play simultaneously without the audio-worker or output-device errors.
由索引模型根据 Issue 内容生成。
描述
With Sendspin 5.9.0 and MA 2.8.1 both Sendspin clients are able to start as long as no music is playing. When starting playback and linking clients, slave throws:
ERROR:aiosendspin.client.client:Error in audio chunk callback <bound method AudioStreamHandler._on_audio_chunk of <sendspin.audio_connector.AudioStreamHandler object at 0x7f8d2bb770>>
Traceback (most recent call last):
File "/var/lib/sendspin-olohuone/.local/share/uv/tools/sendspin/lib/python3.13/site-packages/aiosendspin/client/client.py", line 876, in _handle_audio_chunk
callback(timestamp_us, payload, self._current_audio_format)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/sendspin-olohuone/.local/share/uv/tools/sendspin/lib/python3.13/site-packages/sendspin/audio_connector.py", line 451, in _on_audio_chunk
raise RuntimeError("Audio worker is not running")
RuntimeError: Audio worker is not runningThen for as long as the other sendspin instance is running, the crashed instance is unable to start and throws:
Error: No output device matching 'olohuone'
When restarting both instances, both are again able to start.
So either one can be used to play music, but not simultaneously.
Originally posted by @rvk in #58
- 主要语言
- Python
- 星标
- 190
- 派生
- 36
- 平均合并
- 11 天 19 小时
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Sendspin/sendspin-python-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
Sendspin/sendspin-python-cli#280 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
Sendspin/sendspin-python-cli#278 · 2 条评论 · 5 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Sendspin/sendspin-python-cli#257 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Sendspin/sendspin-python-cli#256 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Sendspin/sendspin-python-cli#113 · 10 条评论 ·
查看 Sendspin/sendspin-python-cli 的全部 Issue
相似的 Issue
-
sponsored
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 86/100
Diaoul/subliminal#1382 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
triage/confirmed
难度 2/5 1-3 小时 新手友好度 88/100
agentscope-ai/agentscope#2775 ·
-
难度 2/5 1-3 小时 新手友好度 84/100