如何流通过RTMP在Android?RTMP、Android

2023-09-04 13:08:03 作者:绿里尐女

我尝试播放视频文件在远程服务器上。视频格式FLV和服务器的Flash Media Server3.5。

I'm trying to play video file on a remote server. Video format is flv and server is Flash Media Server3.5.

我要连接到服务器通过RTMP,并实现视频文件的使用palyback Android的媒体播放器。

I'm going to connect to server over RTMP and to implement the palyback of video file using Android Media Player.

说真的,这可能吗?任何帮助是我的荣幸。

Really,is it possible? Any help is my pleasure.

推荐答案

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

我发现这一个,但还没有多少运气,也有极少数的文档和跳汰其尝试和支持视频(没有例子,我可以看到)后,我发现,核心方法RtmpStreamFactory.getRtmpStream();失败了。

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(); failed.

这其中也出现了,但我还没有看这个呢。

This one has also cropped up, but i haven't looked at this yet.

HTTP://$c$c.google.com/p / Android的RTMP客户端/

它看起来像我,我将着眼于获得媒体服务器提供RTSP代替,这是支持的机器人。您也可以发现,更高版本的Andr​​oid,即3>支持RTMP。

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. You may also find that later versions of Android i.e. 3> support rtmp.