Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

funasr_wss_server.py 当python funasr_wss_client.py使用--audio_in方式时,没有正确返回asr,且造成客户端卡死

Open
#3,438 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start with runtime/python/websocket/funasr_wss_server.py and funasr_wss_client.py, then reproduce the --audio_in case using the commands in the issue for offline, online, and 2pass modes. Trace how the server handles the final audio and completion signal; done means every mode returns the complete ASR result and the client closes automatically.

Written by the indexing model from the issue text.

Description

bug needs feedback

🐛 Bug

runtime/python/websocket/funasr_wss_server.py,这个代码好像有bug,funasr_wss_client.py 通过 --audio_in 上传文件这个用法,如果是 -mode offline 直接卡死没有输出;如果是 -mode online或2pass,音频的最后几个字一直识别不出来然后卡死

To Reproduce

  1. python funasr_wss_server.py --port 10095 启动服务器
  2. python funasr_wss_client.py --host 127.0.0.1 --port 10095 --mode offline --audio_in xxx

Expected behavior

funasr_wss_client.py --audio_in使用任何mode都应该正确返回完成的asr识别内容,且识别完后应该自动关闭

Dominant language
Python
Stars
20.4k
Forks
2k
Avg merge
6h 31m
Merged PRs (30d)
169

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelscope/FunASR

All issues in modelscope/FunASR

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.