Getting the RTSP URL from your Foscam IP camera lets you view live video on VLC, integrate with security systems, or record footage directly. This guide shows you how to find the correct URL using your camera’s settings or web interface—no coding needed.
Quick Answers to Common Questions
Tip/Question?
Answer: Yes, you can access your Foscam camera remotely using its RTSP URL if port 554 is forwarded on your router—but this poses security risks. Always change default passwords first.
Tip/Question?
Answer: Most Foscam models use port 554 for RTSP, but check your camera’s web interface under Network Settings to confirm the exact port number.
Tip/Question?
Answer: Sub-streams (like videoSub) offer lower resolution and smoother playback over slower internet connections—perfect for remote viewing.
Tip/Question?
Answer: If your camera uses HTTPS, the RTSP URL remains HTTP-based; RTSP doesn’t support encryption, so keep it on a trusted local network when possible.
Tip/Question?
Answer: Some older Foscam firmware versions don’t support modern RTSP paths. Updating to the latest firmware often resolves compatibility issues.
How to Get RTSP URL from Foscam IP Camera
If you own a Foscam IP camera—whether it’s a dome, bullet, or PTZ model—you might want to access its live video feed outside the Foscam mobile app. One of the most reliable ways to do this is by using the RTSP (Real-Time Streaming Protocol) URL. RTSP allows you to stream video directly to media players like VLC, integrate with home automation systems, or feed into recording software such as Blue Iris or iSpy.
This guide will walk you step by step through finding and constructing the RTSP URL for your Foscam camera. Whether you’re tech-savvy or just getting started with IP cameras, we’ll keep things simple, clear, and practical. By the end, you’ll be able to view your camera’s live feed anywhere on your network—no extra apps required.
What Is an RTSP URL?
An RTSP URL (also called a streaming URI) is a special web address that tells compatible software how to connect to and stream video from your camera. Think of it like a direct link to your camera’s video feed. Once you have this URL, you can paste it into VLC, set it up in surveillance software, or even embed it in a smart home dashboard.
The general structure looks like this:
rtsp://username:password@IP_address:port/channel/stream_type
Let’s break down each part:
- rtsp:// – The protocol used to request the stream.
- username:password – Your login credentials for the camera.
- IP_address – The local network address of your camera (e.g., 192.168.1.100).
- port – Usually 554 for RTSP, but some cameras use others like 8557.
- /channel – Often “1” for main stream, sometimes “2” for sub-stream.
- /stream_type – Could be “videoMain”, “sub”, or similar depending on model.
Now let’s go through how to get each piece for your specific Foscam model.
Step 1: Find Your Camera’s IP Address
Before you can build the RTSP URL, you need to know your camera’s network address. Here’s how to find it:
Method A: Use the Foscam Mobile App
- Open the Foscam Pro or Foscam Viewer app on your phone.
- Log in and select your connected camera.
- Tap the gear icon (settings) or three dots menu.
- Look for Network Settings or Device Info.
- Your camera’s IP address, subnet mask, and gateway will be listed there.
Method B: Use Router Admin Panel
- Open a web browser and log into your router’s admin page (usually at 192.168.1.1 or 192.168.0.1).
- Go to Connected Devices, DHCP Clients, or Attached Devices.
- Look for your Foscam camera by name or MAC address.
- Note the assigned IP address.
Method C: Use Network Scanner Tools
If you don’t see the camera listed, try a free tool like:
- Angry IP Scanner (Windows/macOS/Linux)
- Fing (iOS/Android)
- nmap (command line)
Scan your local network (e.g., 192.168.1.0/24) and look for devices with Foscam-related names or open ports like 80 or 554.
Step 2: Log Into Your Camera’s Web Interface
Once you have the IP address, open a web browser and go to:
http://[your_camera_IP]
For example: http://192.168.1.100
Enter your username and password. Default credentials are often:
- Username: admin
- Password: admin or blank (check your manual!)
After logging in, you’ll see the camera’s dashboard or control panel.
Step 3: Locate Network or Advanced Settings
Navigate to the section where network configuration is stored. Common paths include:
- Setup > Network
- Settings > System > Network
- Advanced > Network Settings
Here you should find:
- Current IP address
- Port numbers (HTTP, RTSP, etc.)
- Stream types (main/sub)
Make sure RTSP service is enabled. If it’s disabled, enable it and save changes.
Step 4: Determine the Correct RTSP URL Format
Foscam cameras vary slightly by model and firmware version, but most follow one of these patterns:
Common RTSP URL Formats
Basic Main Stream:
rtsp://admin:password@192.168.1.100:554/videoMain
Alternative Main Stream:
rtsp://admin:password@192.168.1.100:554/11
Sub-Stream (Lower Resolution):
rtsp://admin:password@192.168.1.100:554/videoSub
With Custom Port (if not 554):
rtsp://admin:password@192.168.1.100:8557/videoMain
Replace admin:password with your actual login, and 192.168.1.100 with your camera’s IP.
Model-Specific Examples
- FI9806P / FI9821W:
rtsp://admin:password@IP:554/videoMain - FI9846P:
rtsp://admin:password@IP:554/11 - FI9900P / FI9900WP:
rtsp://admin:password@IP:554/videoMain - FI9826W: May use
rtsp://admin:password@IP:554/h264Preview_01_main
Check your camera’s user manual or online documentation for exact syntax. Firmware updates can change formats slightly.
Step 5: Test the RTSP URL with VLC Media Player
The easiest way to verify your RTSP URL works is using VLC Media Player:
- Download and install VLC if you haven’t already.
- Open VLC and go to Media > Open Network Stream (or press Ctrl+N).
- Paste your full RTSP URL into the field.
- Click Play.
If the video appears, congratulations—you’ve successfully retrieved the RTSP URL! If not, double-check your IP, port, username, password, and stream type.
Troubleshooting Common Issues
Problem: VLC Shows “Connection Refused”
This usually means:
- The RTSP port (usually 554) is blocked by firewall or router.
- RTSP service isn’t enabled on the camera.
- Incorrect username/password.
- Wrong IP address.
Solution: Double-check all credentials and ensure RTSP is turned on in settings. Try pinging the camera IP from another device to confirm connectivity.
Problem: Video Freezes or Buffers
This often happens with high-resolution main streams over slow networks.
Solution: Switch to the sub-stream (lower resolution) in your RTSP URL. For example, replace videoMain with videoSub.
Problem: Can’t Access Web Interface
If you can’t log into the camera’s webpage:
- Confirm the IP address is correct.
- Ensure you’re on the same network as the camera.
- Try accessing via
http://[IP]:80orhttp://[IP]:81depending on model. - Reset the camera if necessary (hold reset button for 10 seconds).
Bonus: Automating RTSP Discovery with ONVIF
If manually building URLs feels too technical, consider using ONVIF-compatible tools:
- ONVIF Device Manager (free desktop app)
- Blue Iris (surveillance software that auto-discovers cameras)
- iSpy or ZoneMinder (open-source options)
These tools scan your network for supported cameras and automatically configure RTSP streams—great if you have multiple Foscams or mixed brands.
Security Tips When Using RTSP
While convenient, exposing your camera via RTSP opens potential security risks:
- Change default passwords immediately after setup.
- Disable UPnP on your router to prevent unauthorized port forwarding.
- Use strong Wi-Fi passwords and keep firmware updated.
- Consider VLAN segmentation to isolate camera traffic from main devices.
Never share your RTSP URL publicly—it gives anyone access to your live feed!
Conclusion
Getting the RTSP URL from your Foscam IP camera opens up powerful possibilities beyond the official apps. Whether you want to build custom dashboards, integrate with smart home systems, or archive recordings locally, RTSP gives you direct control over your video stream.
By following this guide—finding your camera’s IP, enabling RTSP in settings, and testing with VLC—you’ll have everything you need to start streaming securely and reliably. Remember: always use strong credentials and monitor who has access to your camera feeds.
Now go ahead—unlock your Foscam’s full potential with just a few lines of text in a media player!