流媒体视频从机器人 [英] Streaming Video From Android

查看:154
本文介绍了流媒体视频从机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从Android手机,它应该在的媒体播放器观看视频流。 我一直在寻找<一href="http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system">http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system这似乎是一条死胡同,因为它发出的原始文件数据,而不是流化格式。

I'm trying to stream video from the Android phone, which should be watched in an mediaplayer. I've been looking at http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system which seems to be a dead end since it send the raw file data, and not a streamable format.

然后我试图使用从SipDroid约code,更具体的; VideoCamera.java,RtpPacket.java和RtpSocket.java,这给在UDP流,然而这些是不能播放的,即的MPlayer份(无法检测到codeC)。 Wireshark的通知,这是一个UDP包,而不是一个RTP包这样的东西可能会丢失?

Then I tried using some code from SipDroid, more specific; parts of VideoCamera.java, RtpPacket.java and RtpSocket.java, which gives a stream on UDP, however these is not playable in i.e. mplayer(can't detect the codec). Wireshark tells that it is a UDP packet and not a RTP packet so something might be missing?

我kind'a卡住了,你有什么建议,如何突破这个凸起?

I'm kind'a stuck, have you any suggestions how to get past this bump?

推荐答案

右键点击Wireshark的数据包,并选中德code为选项。然后选择 RTP 。现在你可以在Wireshark中看到RTP数据包。

Right click on the packet in Wireshark and select the decode as option. Then select rtp. Now you can see RTP packets in Wireshark.

这篇关于流媒体视频从机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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