CamRelay
How to Turn an Old Android Phone Into a Security Camera
Give an old Android phone a second life as a security camera: place it well, keep it powered, let CamRelay start by itself after a reboot, and watch or record the camera from any browser on your Wi-Fi.
CamRelay - RTSP Live IP Camera