flowchart LR
A[Your Camera] -->|RTSP| B[Your Router]
B -->|Port Forward| C[Internet]
C -->|DynDNS| D[webcam.io]
D -->|RTMP| E[YouTube/Twitch]
E --> F[Viewers]
Live Streaming Setup: Connect Your IP Camera to YouTube & Twitch
This guide walks you through connecting your IP camera to webcam.io for 24/7 live streaming to YouTube Live, Twitch, or other platforms. Setup takes approximately 10–15 minutes.
Overview
For live streaming, webcam.io needs to access your camera’s video stream directly. This requires:
- Port forwarding — Opens a path from the internet to your camera
- Dynamic DNS — Gives your camera a permanent hostname
- RTSP URL — The address webcam.io uses to fetch your stream
If port forwarding seems complex, consider using Time-Lapse mode with FTP upload instead. It works without any router configuration and is sufficient for many use cases.
Prerequisites
Before you start, make sure you have:
| Requirement | Details |
|---|---|
| IP camera | With RTSP or RTMP streaming support (recommended cameras) |
| Router access | Admin login to configure port forwarding |
| Internet connection | Minimum 2 Mbps upload (5 Mbps for 1080p) |
| webcam.io account | Sign up free |
| YouTube or Twitch account | With streaming enabled |
Check Your Upload Speed
Your upload speed determines the maximum quality you can stream:
| Stream Quality | Resolution | Required Upload |
|---|---|---|
| Low | 480p | 1.5 Mbps |
| Standard | 720p | 3 Mbps |
| HD | 1080p | 5 Mbps |
| 4K | 2160p | 15 Mbps |
Test your speed at speedtest.net — look at the upload number, not download.
Step 1: Find Your Camera’s Local IP Address
First, identify your camera’s IP address on your local network.
Method A: Check Your Router’s Device List
- Log in to your router (usually
192.168.1.1or192.168.0.1) - Find “Connected Devices”, “DHCP Clients”, or similar
- Look for your camera by name or MAC address
Method B: Use Camera Discovery Software
- Hikvision: SADP Tool
- Axis: AXIS IP Utility
- Universal: Angry IP Scanner (scan for port 554)
Method C: Check Camera’s Web Interface
If you know the camera’s IP, open it in a browser:
http://192.168.1.XXX
After finding the IP, reserve it in your router settings. This prevents the camera from getting a different IP after a reboot, which would break your port forwarding rules.
Look for “DHCP Reservation”, “Static Lease”, or “Address Reservation” in your router.
Example local IP address: 192.168.1.100
Step 2: Set Up Port Forwarding
Port forwarding creates a path from the internet to your camera. Without it, webcam.io cannot reach your camera.
Understanding Port Forwarding
Internet Request → Your Public IP:554 → Router → Camera at 192.168.1.100:554
The router forwards incoming traffic on port 554 (RTSP) to your camera’s local IP.
Generic Instructions
- Log in to your router’s admin interface
- Navigate to Port Forwarding (sometimes under “Advanced”, “NAT”, or “Applications & Gaming”)
- Create a new rule:
| Field | Value |
|---|---|
| Name/Description | Camera RTSP |
| External Port | 554 |
| Internal IP | 192.168.1.100 (your camera’s IP) |
| Internal Port | 554 |
| Protocol | TCP (or TCP/UDP) |
- Save and apply changes
- Reboot your router if required
Router-Specific Guides
Find your router brand for step-by-step screenshots:
Multiple Cameras?
If you have multiple cameras, each needs a unique external port:
| Camera | Local IP | Internal Port | External Port |
|---|---|---|---|
| Camera 1 | 192.168.1.100 | 554 | 554 |
| Camera 2 | 192.168.1.101 | 554 | 10554 |
| Camera 3 | 192.168.1.102 | 554 | 11554 |
Then use the external port in your RTSP URL (see Step 4).
Port forwarding exposes your camera to the internet. Always:
- Use a strong password on your camera
- Keep camera firmware updated
- Consider using a non-standard port (e.g., 8554 instead of 554)
- Check Static-IPs to restrict access to webcam.io servers only
Step 3: Set Up Dynamic DNS
Dynamic DNS (DDNS) gives your router a permanent hostname, even when your public IP changes.
Why Do You Need DDNS?
Most home internet connections have a dynamic IP — it changes periodically. DDNS automatically updates a hostname to point to your current IP.
Without DDNS: rtsp://86.42.103.55:554/... ← breaks when IP changes
With DDNS: rtsp://mywebcam.dyndns.org:554/... ← always works
If your ISP provides a static IP address (common for business connections), you can skip DDNS and use your IP directly.
Popular DDNS Providers
| Provider | Free Plan | Notes |
|---|---|---|
| No-IP | Yes (confirm monthly) | Most popular, easy setup |
| DynDNS | No (paid only) | Professional, very reliable |
| DuckDNS | Yes (unlimited) | Simple, no account needed |
| Dynu | Yes | No confirmation needed |
| FreeDNS | Yes | Many domain options |
Setup Process
Create account at your chosen DDNS provider
Create hostname (e.g.,
mywebcam.ddns.net)Configure your router to update the DDNS:
- Find “Dynamic DNS” or “DDNS” in router settings
- Select your provider
- Enter credentials and hostname
Test by pinging your hostname:
ping mywebcam.ddns.net
Alternative: Configure DDNS on Camera
Some cameras (Hikvision, Axis) have built-in DDNS clients. This works even if your router doesn’t support DDNS.
Hikvision: Configuration → Network → Advanced → DDNS
Axis: Settings → System → Network → TCP/IP → Hostname
Step 4: Find Your Camera’s RTSP URL
The RTSP URL is the address webcam.io uses to access your camera’s video stream.
RTSP URL Format
rtsp://USERNAME:PASSWORD@HOSTNAME:PORT/PATH
| Component | Example | Description |
|---|---|---|
| USERNAME | admin | Camera login username |
| PASSWORD | mypassword123 | Camera login password |
| HOSTNAME | mywebcam.ddns.net | Your DDNS hostname (or public IP) |
| PORT | 554 | External port from Step 2 |
| PATH | /Streaming/Channels/101 | Camera-specific stream path |
Common RTSP Paths by Brand
# Main stream (high quality)
rtsp://user:pass@hostname:554/Streaming/Channels/101
# Sub stream (lower bandwidth)
rtsp://user:pass@hostname:554/Streaming/Channels/102# Main stream
rtsp://user:pass@hostname:554/axis-media/media.amp
# With parameters
rtsp://user:pass@hostname:554/axis-media/media.amp?resolution=1920x1080# Main stream
rtsp://user:pass@hostname:554/cam/realmonitor?channel=1&subtype=0
# Sub stream
rtsp://user:pass@hostname:554/cam/realmonitor?channel=1&subtype=1# Main stream
rtsp://user:pass@hostname:554/h264Preview_01_main
# Sub stream
rtsp://user:pass@hostname:554/h264Preview_01_sub# Main stream
rtsp://user:pass@hostname:554/cam/realmonitor?channel=1&subtype=0# Main stream
rtsp://user:pass@hostname:554/media/video1# Try these common paths
rtsp://user:pass@hostname:554/onvif1
rtsp://user:pass@hostname:554/stream1
rtsp://user:pass@hostname:554/live/ch00_0Find Your Camera’s Path
If your camera isn’t listed above:
- Check your camera manual — Look for “RTSP” or “streaming URL”
- Camera web interface — Often shown in Network or Streaming settings
- ispyconnect Database — 10,000+ camera models
- Security.World RTSP — Organized by manufacturer
Example Complete URLs
# Hikvision with DDNS
rtsp://admin:MyPassword123@mywebcam.ddns.net:554/Streaming/Channels/101
# Axis with static IP
rtsp://root:password@203.0.113.50:554/axis-media/media.amp
# Multiple cameras (Camera 2 on port 10554)
rtsp://admin:pass@mywebcam.ddns.net:10554/Streaming/Channels/101Step 5: Test Your Stream
Before configuring webcam.io, verify your stream works from outside your network.
Test with VLC Player
- Download VLC Media Player (free)
- Go to Media → Open Network Stream
- Enter your full RTSP URL
- Click Play
Your local network will bypass port forwarding. To test properly:
- Use your phone’s mobile data (WiFi off)
- Ask a friend to test from their network
- Use an online RTSP tester
If it works locally but not externally, your port forwarding isn’t configured correctly.
Troubleshooting Checklist
If the stream doesn’t work:
| Issue | Solution |
|---|---|
| “Connection refused” | Port forwarding not working or wrong port |
| “Authentication failed” | Wrong username/password |
| “Stream not found” | Wrong RTSP path for your camera |
| Works locally, not externally | Port forwarding issue or ISP blocking port 554 |
| Intermittent connection | DDNS not updating, or camera IP changed |
Test Port Forwarding
Use an online port checker:
- Go to yougetsignal.com/tools/open-ports/
- Enter port 554 (or your custom port)
- Click “Check”
If the port shows as closed, review your port forwarding configuration.
Step 6: Configure webcam.io
Now connect your camera to webcam.io:
- Log in to webcam.io Dashboard
- Click Add Webcam → Select Live Streaming
- Enter your camera details:
| Field | Value |
|---|---|
| Name | My Outdoor Camera |
| Input type | default H.264/H.265 |
| Stream URL | rtsp://user:pass@mywebcam.ddns.net:554/Streaming/Channels/101 |
| Transcode | off for H.264 (or resolution/fps for H.265/others - requires LIVE+ plan) |
- Click Save and wait for the stream to connect
Configure Output Destination
Continue with one of these guides:
- → YouTube Live Setup — Most popular choice
- → Twitch Setup — For gaming/community streams
- → Custom RTMP — Other platforms
Camera-Specific Setup Guides
Hikvision Setup
- Access camera web interface at
http://CAMERA-IP - Configuration → Network → Advanced → Port
- RTSP Port: 554 (default)
- Enable RTSP Authentication: Yes
- Configuration → Video/Audio → Video
- Video Encoding: H.264 (recommended) or H.265
- Resolution: 1920×1080 or lower
- Bitrate: 2048–4096 kbps
- Frame Rate: 25 fps
RTSP URL:
rtsp://admin:password@hostname:554/Streaming/Channels/101
Axis Setup
- Access camera at
http://CAMERA-IP - Settings → Stream → Stream profiles
- Create profile for streaming
- Resolution: 1080p
- Compression: 30 (lower = higher quality)
- Zipstream: Off (for compatibility)
- Settings → System → Plain config → Network → RTSP
- Enable RTSP server
RTSP URL:
rtsp://user:pass@hostname:554/axis-media/media.amp
Dahua Setup
- Access camera at
http://CAMERA-IP - Setup → Camera → Encode
- Main Stream: H.264, 1080p, 4096kbps
- Setup → Network → Port
- RTSP Port: 554
RTSP URL:
rtsp://admin:password@hostname:554/cam/realmonitor?channel=1&subtype=0
Troubleshooting
Common Issues and Solutions
- Check codec: webcam.io requires H.264. H.265 needs LIVE+ plan.
- Authentication: Some special characters in passwords cause issues. Try URL-encoding them or simplify the password.
- Firewall: Your camera may restrict connections to certain IPs. See Static-IPs for webcam.io server IPs.
Some ISPs block common ports. Solutions:
- Use a different port: Configure camera to use 8554 or 10554
- Contact ISP: Business accounts often have fewer restrictions
- Use Time-Lapse mode: FTP upload doesn’t require port forwarding
If your ISP uses Carrier-Grade NAT (common with mobile/4G providers), port forwarding won’t work. Options:
- Request public IP from ISP (may cost extra)
- Use VPN with port forwarding (PureVPN, AirVPN)
- Use Time-Lapse mode with FTP upload
- Check bandwidth: Run speed test during streaming
- Lower bitrate: Reduce to 2000kbps in camera settings
- Enable backup stream: In webcam.io settings; keeps YouTube stream from ending
- Check DDNS: Ensure it’s updating properly
Next Steps
Your camera is now connected! Continue with:
- YouTube Live Setup — Configure your YouTube destination
- Twitch Setup — Or stream to Twitch instead
- Streaming FAQ — Common questions and advanced options
If you’re stuck, contact us with:
- Your camera make/model
- Screenshot of your port forwarding rules
- The RTSP URL you’re trying (remove password)
We’re happy to help troubleshoot!