protocolAugust 13, 2026•7 min read•RTSPLink Dev Team
ONVIF WS-Discovery & Automated RTSP Stream URI Resolution
Discover IP cameras on the local network automatically and query their RTSP stream URIs via ONVIF SOAP APIs.
#ONVIF#WS-Discovery#SOAP API#GetStreamUri#Automation
Live Stream Workbench
Need a live RTSP stream link right now to test this setup in VLC or OpenCV?
#1Python ONVIF GetStreamUri Example
Query camera stream URI dynamically using onvif-zeep:
Python ONVIF Script
from onvif import ONVIFCamera
cam = ONVIFCamera('192.168.1.64', 80, 'admin', 'password')
media_service = cam.create_media_service()
profiles = media_service.GetProfiles()
stream_setup = {'Stream': 'RTP-Unicast', 'Transport': {'Protocol': 'RTSP'}}
stream_uri = media_service.GetStreamUri({'StreamSetup': stream_setup, 'ProfileToken': profiles[0].token})
print("Resolved RTSP URI:", stream_uri.Uri)Ready to test your live RTSP video stream?
Generate free authenticated RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.
Related Tutorials & Setup Guides
View all 100+ guidestroubleshooting
How to Extract High-Resolution JPEG Snapshots from RTSP in 100ms
Learn the fastest FFmpeg and Python OpenCV commands to capture crisp high-res snapshots from live RTSP feeds on demand.
protocolRTSP vs WebRTC: Latency, Security & Browser Playback Compared
Detailed technical analysis comparing RTSP and WebRTC protocols for live camera monitoring, NAT traversal, firewall compatibility, and sub-second latency.
protocolRTSP vs RTMP vs HLS vs SRT: The Ultimate Streaming Protocol Guide
Detailed breakdown comparing RTSP, RTMP, HLS, and SRT for live video delivery, video ingestion, and surveillance.