Looking at the spydroid source code for nearly a week, spydroid this open source project has a certain understanding. Perhaps some understanding is not necessarily correct, give a little revelation to the later people. is also their own on the RTSP agreement, the RTP agreement summary.
Under Windows, if SVN is installed, you can use SVN checkout http://spydroid-ipcamera.googlecode.com/svn/to download the source code, the latest source is spydroid6.7.1
After downloading, import the Eclipse project and you can compile and run it directly.
Here only concerned about its SRC source parts, other places are relatively simple, do not introduce. SRC source code has the following several package.
Net.majorkernelpanic.http mainly introduces the HTTP server,spydroid itself built-in HTTP server, the client can be in the VLC etc player Input http://ip:8080/play
Net.majorkernelpanic.mp4 mainly introduces Profile,sps,pps and other information of extracting MP4 files.
Net.majorkernelpanic.networking mainly introduces the RTSP server part, spydroid itself built-in RTSP server, the client can be in VLC etc player input rtsp://ip:8086/play
NET.MAJORKERNELPANIC.RTP mainly introduces the RTP protocol communication
Net.majorkernelpanic.spydroid is mainly the interface part of activity.
Net.majorkernelpanic.streaming is mainly stream interface and abstract class
Net.majorkernelpanic.streaming.audio Introduction Audio Section
Net.majorkernelpanic.streaming.video Introduction Video Section
In the future for mp4,networking, rtp,stream the contents of these 4 packages focus on analysis
Android Introduction Spydroid The General function of each package