How to stream over RTMP on Android?

ⅰ亾dé卋堺 提交于 2020-01-12 03:27:11

问题


I'm trying to play video file on a remote server. Video format is flv and server is 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.

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


回答1:


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

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

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



来源:https://stackoverflow.com/questions/6006043/how-to-stream-over-rtmp-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!