Turn an Android Phone into a Home Surveillance Camera

12 min read Step‑by‑step tutorial that shows how to use a spare Android phone as a security camera, stream via IP Webcam, view with VLC, and secure the feed. September 28, 2026 08:30 How to Turn an Android Phone into a Home Surveillance Camera with IP Webcam

Why use an Android phone as a home‑surveillance camera?

Most households already have an old Android smartphone that sits unused in a drawer. Those devices come with a built‑in camera, Wi‑Fi, and enough processing power to stream video in real time. Turning one of them into a dedicated security camera costs nothing, avoids the monthly fees of cloud‑based services, and gives you full control over where the video goes.

Before you start

  • Power source: Streaming video drains the battery quickly. Keep the phone plugged into a charger or a USB power bank for continuous operation.
  • Network: A stable Wi‑Fi connection is essential. Use a 2.4 GHz network for better range; 5 GHz can work but may have shorter reach.
  • Storage: The IP Webcam app can record locally. Ensure the phone has enough free internal storage or an SD card if you plan to keep recordings.
  • Permissions: You will need to grant the app access to the camera, microphone, and location (required for Wi‑Fi hotspot on some devices).

Step 1 – Install the IP Webcam app

  1. Open the Google Play Store on the Android phone.
  2. Search for IP Webcam by Pavel Khlebovich. The free version is sufficient for live streaming; a one‑time purchase unlocks extra features like higher resolution.
  3. Tap Install and wait for the installation to finish.

IP Webcam turns the phone’s camera into an HTTP server that can broadcast video over the local network. The app works on Android 5.0 (Lollipop) and newer, covering the vast majority of devices still in circulation.

Step 2 – Configure video and audio settings

  1. Launch IP Webcam. The main screen shows a list of configurable options.
  2. Tap Video Preferences. Choose a resolution that balances clarity and bandwidth – 640×480 at 15 fps is a good starting point for most home‑Wi‑Fi networks.
  3. If you want audio, enable Audio and select the microphone source. Note that some devices mute the microphone while the screen is off; you may need to keep the screen on or use the Keep screen on option.
  4. Under Advanced Settings, you can set Video quality (JPG quality) and Bitrate. Higher quality yields clearer video but uses more data.

Why these settings matter: lower resolution reduces network load and prevents lag, while higher bitrate improves image sharpness. Adjust based on your router’s capacity and how far the phone is from the Wi‑Fi access point.

Step 3 – Choose a streaming protocol

IP Webcam supports several ways to access the video feed:

  • MJPEG – simple HTTP stream, works with any web browser.
  • RTSP – Real‑Time Streaming Protocol, preferred for media players like VLC or OBS.
  • HLS – HTTP Live Streaming, useful for mobile browsers.

For a PC‑based surveillance setup, RTSP gives the best balance of latency and compatibility. We will use the RTSP URL in the next step.

Step 4 – Start the server

  1. Scroll to the bottom of the IP Webcam main screen and tap Start server. The app will display the device’s local IP address, e.g., http://192.168.1.42:8080.
  2. Note the RTSP address shown below, typically rtsp://192.168.1.42:8080/video. Copy it – you will need it on the PC.

At this point the phone is broadcasting video over your Wi‑Fi network. You can test the feed on the phone itself by tapping the View video button, which opens a built‑in browser.

Step 5 – View the stream on a PC with VLC

  1. On your Windows, macOS, or Linux PC, download and install VLC Media Player if you don’t already have it.
  2. Open VLC and choose Media > Open Network Stream (or press Ctrl+N).
  3. Paste the RTSP URL you copied earlier, e.g., rtsp://192.168.1.42:8080/video, then click Play.
  4. If everything is set up correctly, you will see the live video from your Android phone.

VLC automatically adjusts for network jitter and can record the stream to a file if you need evidence later. To record, click View > Advanced Controls and then the red Record button while the stream is playing.

Step 6 – Optional: integrate the feed into OBS for motion‑triggered recording

Open Broadcaster Software (OBS) is popular for streaming and can also be used for local surveillance. Adding the Android camera as a source lets you combine it with other inputs, apply filters, or send the video to a remote server.

  1. Install OBS from obsproject.com if you haven’t already.
  2. In OBS, click the + button under Sources and choose Media Source.
  3. Give the source a name (e.g., “Phone Camera”) and click OK.
  4. Uncheck Local File, then paste the same RTSP URL into the Input field.
  5. Enable Reconnect and set a short Retry delay (e.g., 5 seconds) so OBS will automatically recover if the phone briefly disconnects.
  6. Click OK. The video should appear in the preview pane.

OBS also offers a built‑in Video Capture Device filter for motion detection. Add the filter, set a sensitivity level, and configure a file‑save action to keep recordings only when motion is detected.

Step 7 – Secure the stream

The default IP Webcam server does not require authentication, which is fine on a trusted home network but unsafe if you have guests or a poorly secured router. There are two simple ways to add a layer of protection:

  • Enable built‑in authentication: In the IP Webcam app, go to Settings > Authentication and set a username and password. VLC and OBS will then prompt you for credentials.
  • Restrict router access: Configure your Wi‑Fi router to block inbound traffic to the phone’s IP address from outside your LAN. This keeps the camera invisible to anyone on the internet.

Both methods are easy to apply and prevent accidental exposure of your video feed.

Step 8 – Keep the phone running smoothly

Running a video server continuously can cause the phone to overheat or throttle. Follow these practices to maintain stability:

  • Disable battery optimisation for IP Webcam: Settings > Apps > IP Webcam > Battery > Don’t optimise.
  • Prevent the screen from sleeping if you need audio: Settings > Display > Sleep > Never, or enable the “Keep screen on” toggle inside the app.
  • Monitor temperature: Install a simple temperature widget or use the built‑in Device care app to ensure the device stays below 45 °C during prolonged use.

Troubleshooting

1. No video appears in VLC

  • Verify that the phone’s IP address is correct. Wi‑Fi networks often assign new IPs after a router reboot.
  • Check that the phone and PC are on the same subnet (e.g., both start with 192.168.1.x).
  • Make sure the RTSP port (default 8080) is not blocked by a firewall on the PC.
  • If you see a “Connection timed out” message, try switching the streaming protocol to MJPEG (http://192.168.1.42:8080/video) and see if the browser can display it.

2. Audio is missing or garbled

  • Some Android devices mute the microphone when the screen is off. Keep the screen on or enable the “Keep screen on” option in the app’s Advanced Settings.
  • Ensure the Audio source is set to “Mic” and not “Cam” unless you specifically need the camera’s built‑in mic.

3. Stream lags or freezes

  • Reduce the video resolution or bitrate in Video Preferences.
  • Move the phone closer to the Wi‑Fi router or use a Wi‑Fi extender.
  • If the network is congested, consider switching the router to a less‑used channel (2.4 GHz channel 1, 6, or 11 are usually safest).

4. Phone overheats

  • Lower the frame rate to 10 fps.
  • Turn off audio if you don’t need it.
  • Place the phone in a well‑ventilated spot or attach a small heatsink.

Edge cases and device‑specific notes

Android 12+ privacy changes: Starting with Android 12, apps need the NEARBY_WIFI_DEVICES permission to scan for local IP addresses. IP Webcam automatically requests it, but you may need to grant it manually in Settings > Privacy > Permission manager.

SD‑card storage: If you plan to record locally, select the SD‑card path under Recording folder. Some devices mount the SD card as /storage/XXXX-XXXX; use the file‑chooser inside the app to avoid typos.

Battery‑only devices: For tablets or phones without a removable battery, keep them plugged into a wall outlet. Use a USB‑C power delivery charger that supplies at least 2 A to avoid power‑related disconnects.

Putting it all together – a quick checklist

  • Charge the phone continuously or use a reliable power source.
  • Install IP Webcam, configure resolution, bitrate, and authentication.
  • Start the server and note the RTSP URL.
  • Open VLC (or OBS) on the PC, paste the URL, and verify the live feed.
  • Secure the stream with a password or router ACL.
  • Adjust battery‑optimisation settings to keep the server running.
  • Test for latency, audio, and stability; tweak settings as needed.

Once the checklist is complete, you have a fully functional, low‑cost home surveillance camera that you control end‑to‑end. The setup can be expanded with motion‑detecting software, cloud‑sync of recordings, or integration into a broader smart‑home system, but the core solution works out‑of‑the‑box with nothing more than a forgotten Android phone and a free app.

User Comments (0)

Add Comment
We'll never share your email with anyone else.