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.

HAPPY_TIGER
  • 345
  • 1
  • 5
  • 17

1 Answers1

4

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.

Emile
  • 11,451
  • 5
  • 50
  • 63
  • Just wanna confirm this, does android >3 support rtmp ? – viv Jul 22 '11 at 04:11
  • I thought it did, but i've checked this page and it doesn't specifically say it does. http://developer.android.com/guide/appendix/media-formats.html – Emile Jul 25 '11 at 09:29
  • RTSP is supported however, you might be able to change your server to use that instead perhaps? – Emile Jul 25 '11 at 09:30