RTSP Protocol Address Standards and Examples for Surveillance Cameras

Overview

Unless otherwise specified, all device RTSP prefix addresses follow this format:

rtsp://[username]:[password]@[ip]:[port]
Parameter Description
username Device login username.
password Device login password.
ip IP address of the surveillance camera.
port RTSP service port of the surveillance camera (default value is 554).

Hikvision

Format 1 (New)

Model Example: Hikvision ColorVu

The general format for the RTSP protocol address is as follows:

Real-time stream
rtsp://[username]:[password]@[ip]:[port]/Streaming/Channels/[streamID](?parm1=value1&parm2=value2…)

Playback stream
rtsp://[username]:[password]@[ip]:[port]/Streaming/tracks/[streamID](?parm1=value1&parm2=value2…)

Parameter Description

  • streamID: Stream ID, format is “{channel number}0{stream type}”. For example: 001 indicates main stream of channel 0; 101 is main stream of channel 1, 102 is sub-stream of channel 1, 103 is third stream of channel 1; 1701 is main stream of channel 17.
  • Optional parameters (omit ? if no parameters):
    • transportmode: Transmission mode, unicast (default) is transportmode=unicast, multicast is transportmode=multicast.
    • starttime, endtime: Playback time range, format is YYYYMMDDTHHmmSSZ, Y is year, M is month, D is day, T is time separator, H is hour, m is minute, S is second, Z is optional, indicating Zulu(GMT) time. The number of digits for each time unit is fixed, pad with 0 on the left if insufficient. Just a start time is enough to play. For example 20241013T093812Z.
    • username, password: Device username and password, only used when streaming server fetches the stream.

Example

A typical RTSP address example:

rtsp://admin:123456@192.168.1.100:554/Streaming/Channels/101

This example corresponds to the following parameters:

  • Username: admin
  • Password: 123456
  • IP Address: 192.168.1.100
  • Port: 554 (default)
  • Channel Number: 101 (main stream)

Format 2 (Old)

Model Example: Ezviz series

The general format for the RTSP protocol address is as follows:

Real-time stream

rtsp://[username]:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/av_stream

Playback stream
rtsp://[username]:[password]@[ip]:[port]/Streaming/tracks/[streamID](?parm1=value1&parm2=value2…)

Parameter Description

  • codec: Encoding type. Currently includes h264, h265, MPEG-4, mpeg4.
  • channel: Channel number. Starts from 1. For example, for channel 1, it is ch1.
  • subtype: Stream type. Main stream is main, sub-stream is sub, third stream is stream3.

Example

A typical RTSP address example:

Main stream
rtsp://admin:12345@192.168.1.100:554/h264/ch1/main/av_stream
Sub-stream
rtsp://admin:12345@192.168.1.100:554/h264/ch1/sub/av_stream

This example corresponds to the following parameters:

  • Username: admin
  • Password: 123456
  • IP Address: 192.168.1.100
  • Port: 554 (default)
  • Channel Number: ch1
  • Stream Type: main main stream

Dahua

The general format for the RTSP protocol address is as follows:

# Real-time stream
rtsp://[username]:[password]@[ip]:[port]/cam/realmonitor?[channel]&[subtype]

# Playback stream
rtsp://[username]:[password]@[ip]:[port]/cam/playback?[channel]&[subtype]&[starttime]&[endtime]

Parameter Description

  • channel: Channel number, starting from 1, e.g., channel 2 is channel=2.
  • subtype: Stream type, 0 for main stream, 1 for sub-stream.
  • starttime, endtime: Playback time range, format is YYYY_MM_DD_HH_mm_SS, e.g., 2024_12_18_12_05_00.

Example

Main stream for channel 1:

rtsp://admin:12345@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0

Main stream playback for channel 2 from 2025-10-24 08:00:00 to 09:00:00:

rtsp://admin:12345@192.168.1.100:554/cam/playback?channel=2&subtype=0&starttime=2025_10_24_08_00_00&endtime=2025_10_24_09_00_00

Huawei

NVR

The general format for the RTSP protocol address is as follows:

# Live stream
rtsp://[username]:[password]@[ip]:[port]/rtsp/streaming?[channel]&[subtype]

# Playback stream
rtsp://[username]:[password]@[ip]:[port]/rtsp/playback?[channel]&[subtype]&[recordtype]&[starttime]&[endtime]

Parameter Description

  • channel: Channel number, starting from 1, e.g., channel 2 is channel=2.
  • subtype: Stream type, main stream is 0 (i.e., subtype=0), sub-stream is 1 (i.e., subtype=1).
  • recordtype: Recording type, enumeration values such as scheduled recording is 1, motion detection recording is 4, etc. (see documentation for details).
  • starttime, endtime: Playback time range, format is YYYY-MM-DDTHH:mm:SSZ, e.g., 2024-07-31T00:00:00Z.

Example

Main stream for NVR channel 1:

rtsp://admin:12345@192.168.1.100:554/rtsp/streaming?channel=1&subtype=0

Main stream playback for NVR channel 2 from 2025-10-24 08:00:00 to 09:00:00:

rtsp://admin:12345@192.168.1.100:554/rtsp/playback?channel=2&subtype=0&recordtype=1&starttime=2025-10-24T08:00:00Z&endtime=2025-10-24T09:00:00Z

IPC (Camera)

The general format for the RTSP protocol address is as follows:

rtsp://[username]:[password]@[ip]:[port]/LiveMedia/[channel]/[subtype](/[trackID])

Parameter Description

  • channel: Channel number, depends on camera type, e.g., fisheye camera-fixed point is ch1, thermal camera-thermal channel is ch102, etc.
  • subtype: Stream type, main stream is Medial, sub-stream is Media2.
  • trackID: Stream type, live stream is trackID=1, metadata is trackID=4, omit for live stream + metadata.

Example

Main stream for camera channel 1:

rtsp://admin:12345@192.168.1.100:554/LiveMedia/ch1/Medial

Uniview

The general format for the RTSP protocol address is as follows:

rtsp://[username]:[password]@[ip]:[port]/media/[subtype](/multicast)

Parameter Description

  • subtype: Stream type, main stream is video1, sub-stream is video2, third stream is video3.
  • (/multicast): Optional, multicast transmission. Adding this parameter enables multicast; omitting it defaults to unicast.

Example

Main stream unicast

rtsp://admin:12345@192.168.1.100:554/media/video1

Sub-stream multicast

rtsp://admin:12345@192.168.1.100:554/media/video2/multicast

CNBHT (Zhongwei Electron)

Consistent with Hikvision, includes two formats.

Axis

The general format for the RTSP protocol address is as follows:

/axis-media/media.amp?[videocodec]&[resolution]&[fps]

Parameter Description

  • videocodec: Video encoding, e.g., h264, can be omitted.
  • resolution: Resolution, e.g., resolution=1280x720, can be omitted.
  • fps: Frame rate, can be omitted.

Example

Requesting a stream with h264 encoding and 1280x720 resolution from a camera:

/axis-media/media.amp?videocodec=h264&resolution=1280x720&fps=25

Multicast:

/onvif-media/media.amp?profile=profile_1_h264&streamtype=multicast

Model Example: TL-IPC341P-W2.8

The general format for the RTSP protocol address is as follows:

rtsp://[username]:[password]@[ip]:[port]/[subtype]&(channel=)
  • subtype: Stream type, stream1 main stream; stream2 sub-stream.
  • channel: Channel number, optional; in dual-lens cameras, channel=1 represents channel 1, channel=2 represents channel 2.

Example

Main stream

rtsp://admin:12345@192.168.1.100:554/stream1

Channel 2 sub-stream

rtsp://admin:12345@192.168.1.100:554/stream2&channel=2

The general format for the RTSP protocol address is as follows:

/[channel].sdp

Parameter Description

  • channel: Channel number, starting from 1, e.g., channel 2 is live2.

Example

Requesting the stream for D-Link camera channel 2:

/live2.sdp

Shinuo

Real-time

The general format for the RTSP protocol address is as follows:

rtsp://[username]:[password]@[ip]:[port]/H264?ch=1&subtype=0

Parameter Description

  • ch: Channel number, e.g., 1.
  • subtype: Stream type, 0 main stream.

Playback

rtsp://[username]:[password]@[ip]:[port]/playback?seek=20251024080000-20251024090000x1&ch=1

Parameter Description

  • seek: Playback start time-playback end time, e.g., 20251024080000-20251024090000.
  • x1: Playback speed.
  • ch: Playback channel.

YOOSEE

Main stream

rtsp://[username]:[password]@[ip]:[port]/onvif1

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/onvif2

Xiongmai / Jufeng

The general format for the RTSP protocol address is as follows:

rtsp://[ip]:[port]/rtsp/streaming?[channel]&[subtype]/user=admin&password=&channel=1&stream=0.sdp?

Parameter Description

  • user: Device login username, e.g., admin.
  • password: Password, leave empty.
  • channel: Channel number, e.g., 1.
  • stream: Stream type, main stream is 0.sdp?, sub-stream is 1.sdp?.

Example

Main stream for channel 1:

rtsp://192.168.1.100:554/stream1/user=admin&password=123456&channel=1&stream=0.sdp?

Jiuan

The general format for the RTSP protocol address is as follows:

/chN_M.264

Parameter Description

  • N: Channel number, IPC is 0, 4-channel NVR is 0~3, 8-channel NVR is 0~7, and so on.
  • M: Stream number, main stream is 0, sub-stream is 1.

Example

Channel 0 main stream

rtsp://admin:12345@192.168.1.100:554/ch0_0.264

TST (Tianshitong)

Main stream

rtsp://[username]:[password]@[ip]:[port]/mpeg4

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/mpeg4cif

JVS / Sunwin

Main stream

rtsp://[username]:[password]@[ip]:[port]/live0.264

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/live1.264

Tiandy

The general format for the RTSP protocol address is as follows:

rtsp://[ip]

Description: Use the device IP address directly, no specific path.

Example

rtsp://192.168.1.100

JVT

Main stream

rtsp://[username]:[password]@[ip]:[port]/av0_0

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/av0_1

Infinova

PTZ Camera

Main stream

rtsp://[username]:[password]@[ip]:[port]/1/1080p

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/1/D1
Stream Stream Address
Main stream /1/1080p
Sub-stream /1/D1

Dome & Bullet Camera

Main stream unicast

rtsp://[username]:[password]@[ip]:[port]/1/h264major

Sub-stream unicast

rtsp://[username]:[password]@[ip]:[port]/1/h264minor

Main stream multicast

rtsp://[username]:[password]@[ip]:[port]/1/h264major/multicast

Sub-stream multicast

rtsp://[username]:[password]@[ip]:[port]/1/h264minor/multicast

Samsung

Unicast main stream (720P)

rtsp://[username]:[password]@[ip]:[port]/onvif/profile2/media.smp

Unicast sub-stream

rtsp://[username]:[password]@[ip]:[port]/onvif/profile3/media.smp

Multicast main stream (720P)

rtsp://[username]:[password]@[ip]:[port]/onvif/multicast/profile2/media.smp

Multicast sub-stream

rtsp://[username]:[password]@[ip]:[port]/onvif/multicast/profile3/media.smp

LG

Main stream

rtsp://[username]:[password]@[ip]:[port]/Master-0

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/Slave-0

V380

Main stream

rtsp://[username]:[password]@[ip]:[port]/live/ch00_1

Sub-stream

rtsp://[username]:[password]@[ip]:[port]/live/ch00_0

Other Manufacturers

Manufacturer Stream Address
3S /cam1/h264
4XEM /live.sdp
A-MTK /media/media.amp
ABS /mpeg4/1/media.amp
Absolutron /image.mpg
ACTI /
Acumen /mpg4/rtsp.amp
Airlink101 /mpeg4
AirLive /video.mp4
ALinking /cam1/mjpeg, /cam1/mpeg4, /cam1/h264
ALLIEDE /0/1:1/main
ANJVISION /stream0 (main stream), /stream1 (sub-stream)
Asante /cam1/mpeg4
Asoni /GetData.cgi
Aviosys /mpeg4
AVS /mpeg4
AVTech /live/mpeg4, /live/h264
AXview /
Basler /mpeg4, /h264?multicast
BiKal /, /user.pin.mp2
Blujay /mpeg4
Bosch /rtsp_tunnel, /video, /?inst=2
Brickcom /channel1
Canon /, /stream/profile1=u, /profile1=r, /profile1=u
CBC-Ganz /gnz_media/main
Cisco /img/media.sav
Clairvoyant (MWR) /av0_0
CNB /, /mpeg4
Cohu /stream1, /cam
Compro /medias1
Dallmeier /encoder1
DoOurBest /ch0_0.h264
DVTel-IOimage /ioImage/1
EagleVision /11
EDIMAX /ipcam.sdp, /ipcam_h264.sdp
ENEO /1/stream1
Etrovision /rtpvideo1.sdp
EverWorldView /
EverFocus /streaming/channels/0
FIAMM /streaming/channels/101
Fine /mpeg4
FLIR /ch0, /vis, /wfov
Foscam /11
FSAN /
Gadspot /video.mp4
Genie /
Genius /avn=2
GeoVision /CH001.sdp
Grandstream /
GRUNDIG /jpeg, /h264
GVI /mpeg4
Hichip /11 (main stream)
Honeywell /channel=1_stream=0.sdp?real_stream
HuntElectronics /video1+audio1
Ikegami /stream1
iLink /
IndigoVision /
Infinova /1.AMP
InnovativeSecurityDesigns /stream1
INSTEK(DIGITAL) /
Intellinet /video.mp4
Intellio /
IONodes /videoinput_1/h264_1/media.stm
IPUX /mpeg4
IPx /camera.stm
IQinvision /now.mp4
IRLAB /
Juancloud /ch0_0.264 (main stream)
JVC /PSIA/Streaming/channels/0, /PSIA/Streaming/channels/1
KARE (CSST-DIT) /
KTC /h264/
Launch /0/username:password/main
Laview /
LevelOne /access_code, /channel1, /live.sdp, /video.mp4, /h264
Linksys /img/video.sav
Logitech /HighResolutionVideo
Lorex /video.mp4
Lumenera /
LUXONVIDEO /user_defined
Marmitek /mpeg4
MaxVideo /0/usrnm:pwd/main
MC Electronics /
MeritLi-Lin /rtsph264720p, /rtsph2641024p, /rtsph2641080p, /rtsph264, /rtspjpeg
MESSOA /h264, /mpeg4, /livestream/
MicroDigital /cam0_0
Moxa /multicaststream
MultiPix /video1
Onix /cam0_0
OpenEye /h264
Panasonic /nphMpeg4/g726-640x48, /nphMpeg4/g726-640x480, /nphMpeg4/nil-320x240, /MediaInput/h264, /nphMpeg4/g726-640x, /MediaInput/mpeg4
Pelco /h264 (main stream), /h264_2 (stream 2), /h264_3 (stream 3), /stream1
PiXORD /
Planet /ipcam.sdp, /ipcam_h264.sdp, /media/media.amp
PRIME /cam1/h264/multicast
QihanTechnology /
Reportec /cam1/mpeg4?user=username&pwd=‘password’
SafeSky /
Samsung /mpeg4unicast, /mjpeg/media.smp, /media.smp
Sanan /
Sanyo /VideoInput/1/h264/1
Scallopl Imaging /main
Sentry /mpeg4
SeyeonTech /
FlexWATCH /cam0_1
Santachi /stream/av0_0
Sharx /live_mpeg4.sdp
Siemens /img/video.asf, /livestream
Siqura /mpeg4, /h264, /VideoInput/1/h264/1, /VideoInput/1/mpeg4/1
Sitecom /img/video.sav
Sony /media/video1
Sparklan /mpeg4
Speco /
StarDot /nph-h264.cgi
StarMedia /CAM_ID.password.mp2
StoreNet /stream1
SuperCircuits /ch0_unicast_firststream, /ch0_unicast_secondstream, /live/mpeg4
Swann /mpeg4
TCLINK /av2, /live.sdp
Toecsec /
Topica /, /h264/media.amp
TP-Link /video.mp4
TRENDnet /mpeg4, /play1.sdp
Truen /video1
Ubiquiti /live/ch00_0
UDP Technology /ch0_unicast_firststream
Verint /
Vgsion /11
Vicon /, /access_name_for_stream_1_to_5, /h264
Videolarm /mpeg4/1/media.amp
VisionDigi /
VisionhitechAmericas /h264&basic_auth=<base64_union_of_id&pwd>
Visionite /
VISTA /cam1/h264, /
VITEK /cho.sdp, /live.sdp (main stream), /live2.sdp (stream 2), /live3.sdp (stream 3)
WeIDex /h264
XM /user=admin&password=&channel=1&stream=0.sdp?
Y-cam /live_mpeg4.sdp, /onvif1 (main stream), /onvif2 (sub-stream)
Yudor /
Zavio /video.3gp, /video.mp4

Default Username and Password Summary

Manufacturer Username Password
ACTi admin 123456 or Admin/123456
American Dynamics admin admin or admin/9999
Arecont Vision None None
Avigilon admin admin
Axis root pass
Basler admin admin
Bosch None None (New firmware requires creation on first login)
Brickcom admin admin
Canon root camera
Cisco None None (Create on first login)
Dahua admin admin
Digital Watchdog admin admin
DRS admin 1234
DVTel Admin 1234
DynaColor Admin 1234
FLIR admin fliradmin
FLIR (Dahua OEM) admin admin
Foscam admin None
GeoVision admin admin
Grandstream admin admin
Hikvision admin 12345 (old), new firmware requires creation
Honeywell admin 1234
Intellio admin admin
IQinVision root system
IPX-DDK root Admin or admin
JVC admin jvc
March Networks admin None
Mobotix admin meinsm
Northern admin 12345 (old), new firmware requires creation
Panasonic admin 12345 (old), new firmware requires creation
Pelco Sarix admin admin
Pixord admin admin or 4321
Samsung Techwin (old) admin 1111111
Samsung (new) admin 4321 (old), new firmware requires creation
Sanyo admin admin
Scallop admin password
Sentry360 (mini) admin 1234
Sentry360 (pro) None None
Sony admin admin
Speco admin 1234
Stardot admin admin
Starvedia admin None
Trendnet admin admin
Toshiba root lkwd
VideoIQ supervisor supervisor
Vivotek root None
Unifore admin None
Ubiquiti ubnt ubnt
W-Box admin wbox123
Wodsee admin None