IP Camera/RTSP URL Formatting Guide

While only the RTSP URL is required for adding the IP camera source, the formatting of the URL will be different from model to model.

The common format of the RTSP URL is:


RTSP URL Parameters

(Note that in most cases, the word server can be freely interchanged with the words IP camera as every IP camera has an RTSP server built in. Parameters in brackets are optional.)

Typically, the RTSP servers use DHCP to obtain an IP address automatically. The servers usually provide a utility for detecting the server's IP address. This can be in the usual IPv4 format (xx.xx.xx.xx), or it can be a valid host address accepted by the standard function inet_addr.
For example, localhost is equivalent to This is usually the IP address of the sending (server) computer.
rtsp_port (Optional)
The port number on which the server is listening for RTSP commands. The port must be a number from 1 to 65535.
Port 554 is the default for RTSP.
username / password (Optional)
For servers that use authentication, you will need to add your username and a password as part of the RTSP URL.
Each RTSP server has its own relative server URL, so you need to consult the server's manual to obtain it.
paramN=valN (Optional)
Extra parameters on this context are server parameters which can be used to control compression, video size, etc. See the examples below for such parameters.

Example RTSP URLs

These examples are here to merely show the possible formatting for the RTSP URLs. They will not work for testing RTSP sources.

Panasonic IP camera example
Sony IP camera example
Axis IP camera example (H264/AAC codecs used)
Axis IP camera example (MJPEG/G711 codecs used)

XSplit Broadcaster also supports the special parameter \rtsp_transport:udp to force the connection mode to UDP instead of the default (and recommended) TCP.

Axis IP camera example (UDP connection)
Soleratec.com has a database of IP cameras and their RTSP URLs.

Forgot your password?

Did you forget your password? No worries! Enter your email address below we'll help you gain your access back.


Sorry, your session has expired. Please log in again.