流媒体视频从机器人流媒体、机器人、视频

由网友(梦疾风)分享简介:我想从Android手机,它应该在的媒体播放器观看视频流。我一直在寻找http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system这似乎是一条死胡同,因为它发出...

我想从Android手机,它应该在的媒体播放器观看视频流。 我一直在寻找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.

阅读全文

相关推荐

最新文章