简体   繁体   English

蓝牙是否足够快以在两个Android手机之间以原始字节数组的形式传输音频数据流?

[英]Is Bluetooth fast enough to transfer a stream of audio data in the form of a raw byte array between two android phones?

So the idea is to use AudioRecord to get a stream of audio from the microphone and send this stream over bluetooth to another device in the form of a raw byte array, just like I get it from AudioRecord, and at the same time over bluetooth receive the stream of audio from the other device and play it with AudioTrack . 因此,我们的想法是使用AudioRecord从麦克风获取音频流,并将该流以原始字节数组的形式通过蓝牙发送到另一个设备,就像我从AudioRecord获得它一样,同时通过蓝牙接收来自另一台设备的音频流,并使用AudioTrack播放。 Is Bluetooth fast enough to do this between two phones while keeping a descent audio quality? 蓝牙是否足够快,可以在两部手机之间做到这一点,同时保持下降的音频质量? If not, is there a way to do this? 如果没有,有没有办法做到这一点?

It's fast enough for your wireless cell and music headphones. 对于您的无线手机和音乐耳机来说,速度足够快。 It's fast enough for audio and video streaming. 它对音频和视频流速来说足够快。

以电话麦克风记录的质量,应该没问题。

Required bandwidth is ~700 kbit/s for 44.1kHz/16bit MONO stream. 对于44.1kHz / 16bit MONO流,所需带宽约为700 kbit / s。 Stereo stream doubles that (~1.4 kbit/s). 立体声流加倍(~1.4 kbit / s)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM