Support / My Dahua camera opens in a browser, but ViewTile rejects the login or shows no picture.
Dahua RTSP URL and ONVIF setup
Last updated:
In short
A Dahua RTSP URL uses /cam/realmonitor?channel=1&subtype=0 for channel 1’s main stream, normally on port 554. For ONVIF, check the HTTP port, enable authenticated access and verify the ONVIF account, particularly if the administrator password has changed.
These settings are according to Dahua’s documentation (read 16 November 2026). ViewTile has not been tested with Dahua cameras. Check the camera or recorder’s own settings because menus and account behavior vary between firmware versions.
Build the Dahua RTSP URL
Replace IP with the camera’s local IP address. For a recorder stream, use the recorder’s address and confirm which channel number corresponds to the camera.
| Stream | URL pattern |
|---|---|
| Channel 1, main | rtsp://IP:554/cam/realmonitor?channel=1&subtype=0 |
| Channel 1, first extra stream | rtsp://IP:554/cam/realmonitor?channel=1&subtype=1 |
| Channel 1, second extra stream | rtsp://IP:554/cam/realmonitor?channel=1&subtype=2 |
| Channel 2, main | rtsp://IP:554/cam/realmonitor?channel=2&subtype=0 |
Dahua’s RTSP instructions say channels start at 1. Subtype 0 selects the main stream, 1 the first extra stream and 2 the second extra stream. The device must actually offer the stream you request. The documentation gives 554 as the default RTSP port and says it can be omitted; keeping it visible makes the address easier to check.
The same URL family is used for recorder requests, but the source does not mean every recorder’s channel mapping. Check that mapping on the recorder instead of assuming that a camera’s physical position matches its channel number.
Amcrest, Lorex and Imou use the same URL family according to the makers’ documentation checked for the earlier guide on 22 September 2026. That older check was not repeated for this update, so confirm the path in the particular device’s manual.
Put the password in its own field
Dahua’s vendor example includes a username and password inside the URL. In ViewTile, leave that portion out and enter both values in their separate fields.
The RTSP article says the password cannot contain #. Treat this as a caveat of the documented URL method, not as a reason to paste credentials into the link or disable authentication. If login fails, check the camera’s current stream credential requirements.
Check RTSP and connection limits
Dahua’s camera manual places the RTSP port under Setting > Network > Port. The documented default is 554. If the device uses another value, change the URL to match it.
The manual also describes Max Connection and gives 10 as a default for the camera interface it covers. This is not a universal Dahua capacity: recorder limits and other devices can differ. Inspect the setting on your own device.
If video stops when more sessions are opened, close an unnecessary session and retry. A connection limit must be addressed on the camera or recorder. Reducing bitrate may help an overloaded camera, but it does not increase an account or session limit.
Enable ONVIF with authentication
Dahua’s port guidance says ONVIF uses the HTTP port, normally 80. If HTTP was moved, use that configured port for Camera address. Port 554 is for RTSP video, not the ONVIF connection test.
Dahua’s ONVIF access instructions describe the following camera setup:
- Open Setting > Network > Access Platform, sometimes labeled Platform Access, then ONVIF.
- Keep Authentication on so access requires a valid username and password.
- Check the account allowed to use ONVIF. The instructions describe access using the initialized admin account and an optional dedicated account under Setting > System > Account > ONVIF User.
An older interface puts ONVIF under Setup > Network > Connection > ONVIF and describes it as off by default. Follow the interface on the device rather than looking for a menu it does not have.
There is no shared default ONVIF password to enter here. Use the credentials established for your device. Dahua’s ONVIF account guidance warns that older firmware can retain the administrator credentials from initial setup in the ONVIF account. Later administrator password changes may not update that account. Check or change the ONVIF password on the camera; Dahua also identifies firmware updating as a remedy for that behavior.
Add it in ViewTile
- Put the phone or tablet on the camera’s local network. Tap Add a camera on the empty wall.
- Choose Find cameras. If necessary, use Search deeper for the additional scan, which takes about a minute.
- For manual entry, choose Type the camera address instead, then Camera address.
- Enter the IP address, HTTP/ONVIF port and the verified ONVIF credentials.
- Run the test. It checks Camera reachable, Camera speaks ONVIF, Clock check, Login, Camera details, Video streams and Stream address in order.
- If ONVIF is unavailable but RTSP is offered, choose Stream address and enter the appropriate URL and separate credentials.
A stream address supplies video only. It does not provide ONVIF controls, clock checks, recordings or diagnostics beyond playback.
Match ViewTile’s error to the next check
Port closed means the device answered but no service listened on that port. Check its HTTP/ONVIF port and ONVIF setting. Not an ONVIF device means the HTTP response was not ONVIF; an accessible web interface alone is not enough.
Wrong username or password or Credentials needed means the camera rejected the login. Check the ONVIF account, including the stale password case above. Make that correction on the camera, then update the credentials in ViewTile.
No video from this camera after ONVIF setup means no video arrived in three attempts over TCP and then UDP. Check the RTSP port, enabled stream and returned address in Diagnostics. For a manually entered stream, compare the path, channel, subtype and password with the device settings.
Stream keeps dropping means video played but three reconnects failed. For an ONVIF camera, open Diagnostics: if it still answers, check load and Max Connection, or choose a smaller stream through Video streams. If it no longer answers, investigate the network connection. Router isolation or blocked traffic must be corrected on the network.
Find the IP address
Dahua’s ConfigTool instructions describe finding devices on the same LAN and configuring their addresses. They list 192.168.1.108 as a common default, particularly for uninitialized devices. It is a clue, not a substitute for checking the assigned address.
ConfigTool’s LAN discovery does not cover cameras isolated behind an NVR’s PoE ports. Check those channels on the recorder. See Cameras behind a recorder, Adding a camera by its stream address and Stream keeps dropping for the next checks.

