开发者

Audio streaming from Android to VLC on PC

The method bellow captures on slice of sound and saves it:

MediaRecorder.setOutputFile(PATH); 

I want to stream sound. So I need capture sound frame by framef to send across the network. How I can do it?

How 开发者_如何学CI can capture sound frame by frame?


I found one class enable to do this. AudioRecord. http://developer.android.com/reference/android/media/AudioRecord.html

this class capture de sound and put it in a buffer in memory, so you can use this buffer to send by network in livestream or whatever you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜