简体   繁体   English

如何在Android上流式传输RTMP?

[英]How to stream over RTMP on Android?

I'm trying to play video file on a remote server. 我正在尝试在远程服务器上播放视频文件。 Video format is flv and server is Flash Media Server3.5. 视频格式为flv,服务器为Flash Media Server3.5。

I'm going to connect to server over RTMP and to implement the palyback of video file using Android Media Player. 我将通过RTMP连接到服务器并使用Android Media Player实现视频文件的palyback。

Really,is it possible? 真的,有可能吗? Any help is my pleasure. 任何帮助都是我的荣幸。

http://www.aftek.com/afteklab/aftek-RTMP-library.shtml http://www.aftek.com/afteklab/aftek-RTMP-library.shtml

I found this one, but haven't had much luck, there are very few docs and after jigging it to try and support Video (no examples as i can see) i found that the core method RtmpStreamFactory.getRtmpStream(); 我发现了这一个,但是没有太多的运气,有很少的文档和jigging它尝试和支持视频(没有我可以看到的例子)我发现核心方法RtmpStreamFactory.getRtmpStream(); failed. 失败。

This one has also cropped up, but i haven't looked at this yet. 这个也出现了,但我还没有看过这个。

http://code.google.com/p/android-rtmp-client/ http://code.google.com/p/android-rtmp-client/

It looks like that for me i'll be looking at getting the media server to deliver rtsp instead and this is supported by android. 看起来对我来说,我将看到让媒体服务器提供rtsp,而这是由Android支持。 You may also find that later versions of Android ie 3> support rtmp. 您可能还会发现Android的更高版本即3>支持rtmp。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM