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

adapter-qq 无法发送链接形式的silk语音文件 #274

Open
jackz0722 opened this issue May 5, 2024 · 3 comments
Open

adapter-qq 无法发送链接形式的silk语音文件 #274

jackz0722 opened this issue May 5, 2024 · 3 comments

Comments

@jackz0722
Copy link

4.5.0以后的版本增加了本地发送base64后的silk语音文件 但是链接类型的silk语音文件无法发送
image

@shigma
Copy link
Contributor

shigma commented May 8, 2024

根据提示,你需要自行安装 silk 服务。

@jackz0722
Copy link
Author

jackz0722 commented May 17, 2024

发送的已经是silk格式的文件还需要再次转码嘛?
例如: http://qq.com/123.silk (假设地址是正常的 可以使用的) 这个情况会提示上面截图

@shigma
Copy link
Contributor

shigma commented Jun 17, 2024

adapter-qq 会下载并检测文件格式,报这个错说明检测出并非合法的 SILK 文件。

相关源码:

if (data.slice(0, 7).toString().includes('#!SILK')) {

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

No branches or pull requests

2 participants