在流媒体的Andr​​oid MediaRecorder [英] Android MediaRecorder in streaming

查看:220
本文介绍了在流媒体的Andr​​oid MediaRecorder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

好运

这篇关于在流媒体的Andr​​oid MediaRecorder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆