在流媒体的Andr​​oid MediaRecorder流媒体、Andr、MediaRecorder、oid

2023-09-05 07:12:27 作者:女人╮活得坚强些

其可能为流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.

好运

 
精彩推荐
图片推荐