Files
AstrBot/astrbot
Soulter f8c48ce4cc fix: handle Tencent QQ Silk/AMR voice format in ensure_wav
QQ platform sends voice messages in Silk format (or special AMR
variants) that ffmpeg cannot decode, causing STT to fail.

- ensure_wav(): detect Silk format and convert via tencent_silk_to_wav()
- ensure_wav(): detect AMR, try ffmpeg first, fallback to convert_to_pcm_wav()
- _get_audio_magic_type(): broaden Silk detection to handle \x02 prefix
  and SILK bytes anywhere in the first 16 bytes of the header
2026-04-27 12:07:39 +08:00
..
2026-04-23 22:28:40 +08:00