问题描述
其可能为流MediaRecorder的结果?
Its possible to "stream" result of MediaRecorder?
独特的方法,我可以看到的是mediaRecorder.setOutputFile它接收的FileDescriptor。这样我就可以把结果写入到文件或通过套接字发送到接收器。
The unique method i can see is mediaRecorder.setOutputFile that receives a FileDescriptor. So i can write the result to a File or send via socket to receiver.
我想第二个解决办法,但结果视频已损坏,因为不流可搜索。
I tried the second solution but the result video is corrupted because is not "seekable" in stream.
我们的想法是使用Android设备的摄像头发布结果的Red5。
The idea is to use the camera of android device to publish result to Red5.
推荐答案
是的,有可能,有很多例子的。您可以检出 sipdroid 的例子。甚至 Android的IP摄像机这是更简单
Yes, it possible, there are many examples for that.You can checkout sipdroid example.Or even Android IP camera which is much more simple.
好运
这篇关于在流媒体的Android MediaRecorder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!