Guides

ONVIF Camera App: Discovery, Users and PTZ on iPhone and iPad

ONVIF is the standard that lets an app find a camera on your network, ask it for its stream addresses and send it pan, tilt and zoom commands, so you never type a URL. When it works, you tap Scan, pick the camera and enter its password. When it does not, the cause is nearly always one of four things: ONVIF is switched off, the camera wants a separate ONVIF user, the camera's clock is wrong, or the network blocks discovery. This page takes each in turn, then lists the ONVIF ports and stream paths for brands that do not have a guide of their own.

What happens when you tap Scan

IP Camera Viewer sends a WS-Discovery probe to the local network's multicast address, and every ONVIF device that hears it answers with its address. For cameras that stay quiet, the app also checks the ports ONVIF commonly runs on (80, 8000, 2020, 8080, 8899 and 5000, plus 443 and 8443 for HTTPS) across your subnet.

Once you enter the login, the app asks the camera for its media profiles and the RTSP address of each one, sorts them into main and sub-stream, and reads the manufacturer and model to name the camera. A recorder (NVR) comes back with one entry per channel, so each camera behind it appears separately. Self-signed HTTPS certificates, which most cameras use, are accepted.

Why a camera does not appear

  • Local Network access is off. iOS asks once. If you declined, turn it on in Settings → Privacy & Security → Local Network.
  • The phone is on a different network. Guest Wi-Fi, a separate IoT VLAN or a mesh node with client isolation stops discovery. Multicast does not cross subnets.
  • ONVIF is disabled. Hikvision ships with it off, Reolink's recent firmware switches it off, and Tapo answers only after you create a Camera Account.
  • The camera does not speak ONVIF. Wyze, Eufy and cloud-only brands never appear in a scan. Add RTSP-only cameras by address instead.

If you know the camera's IP address, adding it manually is often quicker than chasing a discovery problem. The app can still use ONVIF for controls once it knows where the camera is.

ONVIF users and passwords

A login that works in the camera's web page can still be refused over ONVIF, because several brands keep a separate ONVIF user list:

  • Hikvision: enable ONVIF under Integration Protocol and add an ONVIF user there. Give it Operator rights if you want pan and tilt.
  • Dahua and Amcrest: ONVIF login uses the device accounts, but some firmware requires the account to have ONVIF permission.
  • Tapo: the Camera Account created in the Tapo app is the only login ONVIF accepts.
  • Axis: ONVIF users are managed in their own section of the camera's settings.

The camera's clock matters

ONVIF logins are stamped with the time. If the camera's clock is far from the phone's, the camera rejects the login even when the password is right, and the app reports a failed authentication. Cameras lose the time after a power cut when they cannot reach a time server, which is common on networks that block cameras from the internet.

Set the camera to use NTP, or point it at your router if the router offers a time service, and check that the time zone is correct. This one setting fixes a surprising share of "wrong password" reports.

PTZ and night mode over ONVIF

Pan, tilt and zoom go through ONVIF, so they work on any PTZ camera that exposes ONVIF PTZ, whatever the brand. IP Camera Viewer sends continuous moves and falls back to relative or absolute moves for cameras that only support those. On cameras that expose the ONVIF imaging service, you can also set the infrared night mode to Auto, On or Off. Both are part of Pro. Saved presets are not supported yet.

Digital zoom does not need ONVIF: pinch any live view to zoom up to 20×.

Profiles S, T and G

ONVIF groups features into profiles. Profile S covers live video, audio and PTZ, and is all a live viewer needs. Profile T adds H.265, imaging settings and richer events. Profile G covers recording and playback on the device. IP Camera Viewer is a live viewer, so a camera with Profile S or T works with it. Browsing recordings stored on the camera or recorder still happens in the manufacturer's app.

ONVIF ports and stream paths by brand

For brands without a guide of their own. Discovery fills these in automatically; they are here for manual setup and troubleshooting.

BrandONVIF portMain streamSub-streamNotes
Axis80/axis-media/media.amp…?resolution=640x480Current firmware has no default password; you create the admin account on first start.
Uniview (UNV)80/media/video1/media/video2RTSP and ONVIF are on out of the box.
Hanwha Wisenet80/profile2/media.smp/profile3/media.smpProfile numbers follow the camera's video profile list.
Vivotek80/live.sdp/live2.sdpDefault user is root.
Milesight80/main/sub
Bosch80/rtsp_tunnel…?h26x=4&line=1&inst=2Streams are picked with the query string.
Foscam888/videoMain/videoSubSome models serve RTSP on port 88 instead of 554.
TRENDnet80/play1.sdp/play2.sdp
Sricam80/onvif1/onvif2Use the login set in the Sricam or CloudEdge app.

Reolink uses ONVIF port 8000 and Tapo 2020; see their guides for details.

Frequently asked questions

Do I need ONVIF if RTSP already works?

Not to watch. RTSP alone plays the video. ONVIF adds discovery, so you never type a path, and it is how the app sends pan, tilt, zoom and night-mode commands. If those do not matter to you, an RTSP address is enough.

Why does my camera reject the password over ONVIF but not in its web page?

Either the camera keeps a separate ONVIF user list (Hikvision, Axis, Tapo's Camera Account), or its clock is far off and the time-stamped login is refused. Create the ONVIF user, then check that the camera gets its time from NTP.

What port does ONVIF use?

Usually the camera's HTTP port, 80. Reolink uses 8000, Tapo 2020 and Foscam 888, and some cameras offer HTTPS on 443. IP Camera Viewer checks all of these when it scans.

Can I control pan and tilt without ONVIF?

Not in IP Camera Viewer: it sends PTZ commands over ONVIF, which is what makes them work across brands. Pinch-to-zoom works on any camera because it zooms the picture on your phone.

Does ONVIF discovery work away from home?

No. Discovery only reaches devices on the same local network. Over a VPN you can still open cameras you added at home, because the app connects to their saved addresses.

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.