用 Js 编解码 Webm 设置总时长 Duration
介绍如何通过 JavaScript 编解码 Webm 格式文件,为使用 MediaRecorder 录制的音频添加总时长信息。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
浏览器里面用 MediaRecorder
录制音频生成的 webm
格式的文件没有总时长, 本文通过编解码 Webm
写入 Duration
总时长知乎: https://zhuanlan.zhihu.com/p/667727432掘金: https://juejin.cn/post/7303075105390297099