开发者

Record the voice call packets in a file

I want to make an app to record voice call. I have read many relevant articles about it. I am aware that latest Galaxy comes with this feature. But wanted to know a few things:

  1. When we use the native AudioRecord::start(), where is the recorded data stored in the File System?
  2. What is the format o开发者_JS百科f the recorded data?
  3. how to access that data to manipulate it?

Thanks in advance.


I want to make an app to record voice call.

That is not possible in Android, as SDK applications do not have access to the in-call audio stream.

I am aware that latest Galaxy comes with this feature.

This was implemented by the device manufacturer in firmware. If you create your own custom firmware, this may be possible.

When we use the native AudioRecord::start(), where is the recorded data stored in the File System?

It does not store "recorded data" "in the File System". You get byte[] of data -- it is up to you to do something with it.

What is the format of the recorded data?

8-bit or 16-bit PCM, as you request via the constructor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜