Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api_v2.py 流式输出 wav 格式不能播放,ogg 格式正常 #1777

Open
chenshuanj opened this issue Nov 13, 2024 · 1 comment
Open

api_v2.py 流式输出 wav 格式不能播放,ogg 格式正常 #1777

chenshuanj opened this issue Nov 13, 2024 · 1 comment

Comments

@chenshuanj
Copy link

wav格式,非流式正常;流式(streaming_mode=true&media_type=wav)输出的音频不能播放,数据里面貌似有代码;
ogg格式流式正常。

@Downupanddownup
Copy link
Contributor

看代码,如果是以wav格式进行流式输出,会以raw格式返回音频流,在客户端可能需要一些额外处理,来转化为wav格式。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants