Guides

Hikvision on iPhone: RTSP, ONVIF and Hikvision-Based Cameras

Hikvision cameras stream at rtsp://camera-ip:554/Streaming/Channels/101 for the main stream and 102 for the sub-stream. On an NVR the first digits are the channel, so camera 2 is 201 and 202. RTSP is on by default, but ONVIF is off and keeps its own user list, which is why a password that works in the web page can fail in an ONVIF app. Annke, Anpviz and many other OEM cameras run Hikvision firmware and follow the same rules; EZVIZ, Hikvision's consumer brand, differs in a few ways covered below.

Hikvision RTSP addresses

StreamAddress
Camera, main streamrtsp://camera-ip:554/Streaming/Channels/101
Camera, sub-streamrtsp://camera-ip:554/Streaming/Channels/102
Third stream (some models)…/Streaming/Channels/103
NVR, camera 2 main / subrtsp://nvr-ip:554/Streaming/Channels/201 / 202
NVR, camera 12 main…/Streaming/Channels/1201
Older firmwarertsp://camera-ip:554/h264/ch1/main/av_stream

The login is admin and the password you set when the camera was activated. Hikvision cameras ship inactive, with no password, and must be activated in SADP, the web page or Hik-Connect before anything can connect.

Turn on ONVIF and add an ONVIF user

In the camera's web page, open Configuration → Network → Advanced Settings → Integration Protocol, tick Enable Open Network Video Interface, then add a user in the ONVIF user list below it. That list is separate from the camera's normal accounts. Choose Operator or Administrator if you want pan, tilt and zoom; a Media User can only watch.

Use the ONVIF user when you add the camera by scanning. An RTSP address works with the admin account without any of this, but then the app cannot control PTZ or night mode.

Locked out after wrong passwords

Hikvision protects against password guessing by locking out an IP address after several failed logins, for 30 minutes by default. A viewer that retries with an old password can trigger the lock, and from then on even the correct password is refused until the timer runs out. The setting is under Configuration → System → Security → Security Service ("Enable Illegal Login Lock"). If you are locked out, close the app, wait, and check the password before trying again; rebooting the camera also clears the lock.

Annke, Anpviz and other Hikvision-based cameras

Annke

Most Annke IP cameras and NVRs run Hikvision firmware, so the 101 and 102 paths, the ONVIF user list and the lockout behave exactly as above. Annke also sells models built on other platforms; if /Streaming/Channels/101 returns Stream Not Found, scan for the camera with ONVIF and let it report its own paths.

Anpviz

Anpviz cameras are largely Hikvision-based and are often set up in Guarding Vision, which is Hikvision's app under another name. Use the same paths, and the admin password you set during activation.

EZVIZ

EZVIZ is Hikvision's consumer brand, but it is set up differently. The username is admin and the password is the six-letter verification code printed on the camera's label. Many models serve the main stream at rtsp://admin:CODE@camera-ip:554/H.264; others accept the Hikvision /Streaming/Channels/101 and 102 paths.

EZVIZ does not support ONVIF on most models, so the camera will not appear in a scan; add it by address. Some recent EZVIZ cameras keep local streaming off unless it is enabled in the EZVIZ app's device settings, and a few models no longer offer it at all. If the camera refuses every connection, check the app's local or LAN settings first.

Troubleshooting

  • Authentication Failed on a scanned camera: use the ONVIF user, not admin, or check that the camera's clock is right.
  • Every password is refused: the lockout is active. Wait 30 minutes or reboot the camera.
  • Stream Not Found on an NVR: the channel is in the first digits: camera 3 is 301, not 103.
  • Picture smears or freezes: turn off H.264+ or H.265+ under Configuration → Video/Audio → Video. These smart codecs cut storage but some players handle them poorly.

Frequently asked questions

What is the Hikvision RTSP URL?

rtsp://camera-ip:554/Streaming/Channels/101 for the main stream and 102 for the sub-stream, with the admin login. Very old firmware uses /h264/ch1/main/av_stream.

What is the RTSP address for camera 2 on a Hikvision NVR?

rtsp://nvr-ip:554/Streaming/Channels/201 for the main stream and 202 for the sub-stream. The leading digits are the channel number and the last digit picks the stream.

Why does my Hikvision password work in the browser but not in the app?

Hikvision keeps ONVIF users separate from web accounts, so a scanned camera needs an ONVIF user. If every attempt fails, the illegal-login lock may be active after earlier wrong passwords; wait 30 minutes.

Do Annke cameras use Hikvision RTSP paths?

Most Annke IP cameras and NVRs run Hikvision firmware and use /Streaming/Channels/101. A few models use other platforms; for those, scan with ONVIF to get the right path.

What is the EZVIZ RTSP password?

The six-letter verification code printed on the camera's label, with the username admin. Many models stream at /H.264 on port 554.

Download the app and test it with your camera

Scan the QR code or open the App Store link to try IP Camera Viewer & Monitor with your RTSP or ONVIF camera.