How to stream an Axis camera on a website

RTSP media.amp, stream profiles, and rtsp.me player

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 URL

Prepare 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

rtsp://<login>:<password>@<ip>:<port>/axis-media/media.amp

Stream by named profile

rtsp://<login>:<password>@<ip>:<port>/axis-media/media.amp?streamprofile=<profile-name>

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

rtsp://viewer:StrongPassword@203.0.113.10:10554/axis-media/media.amp?streamprofile=Live

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.

Axis → local network → software agent → internet → rtsp.me

Windows, Linux, and ARM are supported. Setup and configuration are described in "IP camera streaming agent without static IP".

Add the camera

  1. Insert your credentials, address, port, and profile name.
  2. Validate the URL on rtsp.me.
  3. Add the stream and get HTML player code.
  4. Embed the player on your website.

Connect Axis to rtsp.me

Validate the RTSP profile and get your player.

Validate RTSP URL