Back to project page android-ipcam.
The source code is released under:
GNU General Public License
If you think the Android project android-ipcam listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package cz.janchvala.android.ipcamera.server; /* w ww. ja v a 2s . com*/ import net.majorkernelpanic.streaming.rtsp.RtspServer; /** * Custom server which is not explicitly enabled when the service was started. * <p/> * Created by jan on 12.11.2014. */ public class AndroidIpRtspServer extends RtspServer { public AndroidIpRtspServer() { super(); // RTSP server disabled by default mEnabled = false; } public void enableAndStart() { mEnabled = true; start(); } }