如何在 Android 中录制时保持音频大小减小?

发布于 2024-12-05 07:20:59 字数 93 浏览 7 评论 0原文

我的要求是使音频的大小尽可能小。另外,在获取录制的流后,我可以通过 zencoder 类型 API 完成此任务,但我有兴趣在录制时执行此操作。

谢谢 塔尔哈

My requirement is to keep the size of audio as small as i can. Also, after getting the recorded stream, i can accomplish this task by zencoder type APIs but I am interested to do this thing while recording.

Thanks
Talha

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小傻瓜 2024-12-12 07:20:59

MediaRecorder支持AMR编码,效率非常高。生成的文件的大小将以 1600 字节/秒的速度增长。

MediaRecorder supports AMR encoding which is very efficient. The size of the resulting file will grow at 1600 bytes/second.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文