How to stream an Axis camera on a website
Axis produces professional network cameras with flexible stream profile settings. The RTSP stream of a compatible model can be connected to rtsp.me and published on a website.
Validate RTSP URLPrepare the camera
Find the local IP, RTSP port, and the required Stream Profile name. Create a dedicated user with view permissions and a strong password, and do not use the administrator account.
Axis RTSP URLs
Stream with current parameters
Stream by named profile
Replace profile-name with the exact profile name from the camera interface. On Axis devices, primary and secondary streams are often selected by profile name rather than by universal alternate paths. Parameter format and case sensitivity depend on model and firmware.
Example and port mapping
Reserve the camera IP and forward external TCP port 10554 to its RTSP port 554.
Guide: "How to configure port mapping". Do not use DMZ; if your ISP uses CGNAT, use an alternative connection method.
Connection through software agent
If the site has no public IP address or opening an RTSP port on the router is not possible, install the rtsp.me software agent on a computer or mini PC in the same local network as the camera.
The agent receives the local Axis RTSP stream and sends it to rtsp.me over an outbound connection. In this case, port mapping and an internet-exposed RTSP port are not required.
Windows, Linux, and ARM are supported. Setup and configuration are described in "IP camera streaming agent without static IP".
Add the camera
- Insert your credentials, address, port, and profile name.
- Validate the URL on rtsp.me.
- Add the stream and get HTML player code.
- Embed the player on your website.