5

I'm trying to get the RTSP video stream play in my Android App using the build-in Videoview/MediaPlayer, but there're always various problems on different ROMs or different network status(UDP packets blocked), it's really annoying so I want to implement my own rtsp client with the live555 source and GLES and ffmpeg. I can figure out how to use ffmpeg and GLES to show a video, but I'm not familiar with live555.

Are there any compiled version of live555 on Android? or how could I do that myself?

Thanks.

Ralf
  • 9,405
  • 2
  • 28
  • 46
Bolton
  • 2,226
  • 3
  • 25
  • 29
  • Possible duplicate of [Anybody has successfully ported live555 to android?](http://stackoverflow.com/questions/10821015/anybody-has-successfully-ported-live555-to-android) – Abhijeet Apr 01 '16 at 10:48

2 Answers2

4

I think I found a sample code from github, it works for me.

Bolton
  • 2,226
  • 3
  • 25
  • 29
0

bad news - I think you won't find any precompiled versions of live555 - only a config-makefile-structure for several platforms - except android.

Since live555 is a pure c++ library you will most likely have problems with directly using the lib in Android.

jens.

jenseb
  • 1,593
  • 1
  • 10
  • 13
  • Actually I am using live555 and am able to stream the video. In my case RTSP H264 video. Using Android MediaCodec to stream my packets to SurfaceView.the oly issue is after 3-4 hours, stop getting packets from live555 and need to restart the video – sgupta Dec 14 '17 at 17:04