如何在 Android 中录制时保持音频大小减小?
我的要求是使音频的大小尽可能小。另外,在获取录制的流后,我可以通过 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MediaRecorder支持AMR编码,效率非常高。生成的文件的大小将以 1600 字节/秒的速度增长。
MediaRecorder supports AMR encoding which is very efficient. The size of the resulting file will grow at 1600 bytes/second.