Recent research on RTSP HTTP stream fetching method
VLC over live555 is a very good choice, of course, Andorid framework AV is also supporting RTSP http, the same good choice
1. Compiling
Https://wiki.videolan.org/AndroidCompile
I am Ubuntu 12.04 may be the environment to install some of the things better because, uh, there seems to be a necessary condition, the network. If you don't have this, you'll meet
Inexplicable wonder of the matter. I've compiled this before and it doesn't support RTSP, it's confusing.
Directly follow the above steps can be perfectly compiled, and some download the TAR package can be downloaded into the vlc/contrib/tarballs/, the next time to start
./compile it's no longer downloaded.
2. Testing
LIVE555 has a mediaserver that directly supports a lot of packet flow of RTSP services,
"." = + a H. Video Elementary Stream File
". 265" = a h.265 Video elementary Stream file
". AAC" +-an AAC Audio (ADTS format) file
". AC3" = = an AC-3 Audio file
". Amr" = "an amr Audio file"
". DV" + a DV Video file
". m4e" = a MPEG-4 Video elementary Stream file
". mkv" = a Matroska audio+video+ (optional) subtitles file
". mp3" = a MPEG-1 or 2 Audio file
". mpg" = a MPEG-1 or 2 program Stream (audio+video) file
". ogg" or ". Ogv" or ". Opus" = "an ogg audio and/or video file
". ts" = + a MPEG Transport Stream file
(a ". TSX" index FILE-IF present-provides server ' trick play ' support)
". VOB" = a VOB (MPEG-2 video with AC-3 audio) file
". wav" = = a wav Audio file
". WebM" = a WEBM Audio (Vorbis) +video (VP8) file
If you are not able to use FFmpeg or Avconv to convert one, very simple
Avconv-i your files to your output file. extension
Install vlc-debug.apk on the phone
Using Wireshark capture packet analysis, MediaServer is really going to go to RTSP over TCP
3.VLC-DEBUG.APK, we have a few points to forgive.
http://download.csdn.net/detail/green369258/7504483