如何流通过RTMP在Android? [英] How to stream over RTMP on Android?

查看:278
本文介绍了如何流通过RTMP在Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试播放视频文件在远程服务器上。视频格式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.

这篇关于如何流通过RTMP在Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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