Skip to content

v0.2.8 — 语音条修好

Choose a tag to compare

@zhou200310 zhou200310 released this 18 Nov 05:06
· 6 commits to main since this release

之前 mp3 直发,手机上只剩一秒钟的空条。iMessage 的语音消息是 MP4 容器里的 AAC,而且气泡要预先知道时长。

  • synthesize() 拿到 mp3 后 ffmpeg 转 AAC/m4a
  • sendVoice() 用 ffprobe 读出真实时长,连同 audio/mp4 一起交给 voice 构建器

安装:

dsh plugin --profile web add https://github.com/zhou200310/dsh-imessage/releases/download/v0.2.8/dsh-imessage-0.2.8.tgz