Live555 on Android
Asked Answered
D

2

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.

Diabolo answered 29/3, 2011 at 8:1 Comment(1)
Possible duplicate of Anybody has successfully ported live555 to android?Said
D
4

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

Diabolo answered 2/4, 2011 at 3:19 Comment(4)
@Diabolo could you, possibly, elaborate on how you made that code work? I've been struggling with no success so far.Bunder
@Diabolo have been using this same link....bt getting exception because jnix.Pipe missing from the jni folder...can u please hel me in this issue...Phototopography
Hey Bolton, could you elaborate a bit more how you make it work?Psychopharmacology
@Diabolo Would you please explain a little more to how about using thi sample code?!Zach
O
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.

Oswald answered 30/3, 2011 at 12:8 Comment(1)
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 videoPurlieu

© 2022 - 2024 — McMap. All rights reserved.