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

[Request] 对于语音的解析 #289

Closed
ConCose opened this issue Jan 9, 2024 · 0 comments
Closed

[Request] 对于语音的解析 #289

ConCose opened this issue Jan 9, 2024 · 0 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@ConCose
Copy link

ConCose commented Jan 9, 2024

👌 是否检查过没有类似issue

🥰 需求描述 | Feature Description

请求可以播放语音。

🧐 解决方案 | Proposed Solution

语音的所有信息存放在MediaMSG中,而在对MediaMsg进行解密以后得到的表中包含3个值(Reversed1,2忽略),Key,ReservedID与Buf,其中Buf为silk3格式的语音文件,reservedid为在MSG表中对应的MSGSvrID,可以通过查type(34)寻找语音对应的msgsvrid,在mediamsg对应的表中进行解密并播放(目前主流方案是转换为pcm再次转换为MP3),若可以直接播放pcm则忽略(参开开源项目silk2mp3)

📝 补充信息 | Additional Information

No response

@ConCose ConCose added the 🌠 Feature Request New feature or request | 特性与建议 label Jan 9, 2024
@LC044 LC044 closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

2 participants