Recommended IP camera settings

Compatibility and video stream parameters for a stable online stream

Most IP cameras from various manufacturers can be used to connect to rtsp.me. Roughly 99% of current models are suitable, provided they deliver a standard RTSP stream.

The right codec, frame rate and key frame settings help a stream start faster and run more reliably.

Check an RTSP link

The main requirement is RTSP

The camera manufacturer makes no fundamental difference. You can use Hikvision, Dahua, Tiandy, HiWatch, Axis, Uniview, Reolink, Tapo, Milesight and most other brands.

The mandatory condition for a standard connection is support for the RTSP protocol and the ability to obtain the RTSP link of the video stream. Support for the manufacturer's own cloud app alone, without RTSP, is not suitable for a direct connection.

Address formats and examples for popular manufacturers are collected on the page “Where to find your camera's RTSP link”.

IP camera with RTSP → rtsp.me → online stream on your website

Recommended profile

For a standard online stream we recommend configuring the stream as follows:

Parameter names vary between cameras. GOP also appears as I-frame Interval, Key Frame Interval, GOP Size or GOP Length.

The H.264 codec

H.264 is the recommended codec for an ordinary connection. It is widely supported by cameras and offers good compatibility with video processing and playback.

If the camera offers the H.264 Baseline, Main and High profiles, you can usually keep the profile set by the manufacturer as the default. If you run into compatibility problems, use Main Profile.

Do not confuse the video codec with the transport protocol: H.264 encodes the picture, while RTSP provides access to the video stream.

Frame rate — 25 FPS

Set the frame rate to 25 frames per second. That is enough for smooth motion in most public streams, surveillance cameras, tourist sites and work sites.

If your upload speed is limited, the frame rate can be reduced. Motion will then look less smooth, but the bitrate and the load on the connection will drop.

GOP — 50 frames

At 25 FPS we recommend setting the GOP, or I-frame interval, to 50 frames. That means one key frame every 2 seconds:

25 FPS × 2 seconds = GOP 50 frames

A key frame contains the complete picture. Too long an interval can increase the time it takes for the stream to start and to recover after a network loss, while too short an interval raises the bitrate.

Smart Codec — off

Switch off Smart Codec, Smart H.264, H.264+, Zipstream and other proprietary intelligent compression modes. They can change the stream structure and key frame intervals dynamically.

Such modes are useful for the manufacturer's local archive, but they can degrade the compatibility and stability of an external online stream.

H.265 support

rtsp.me also supports H.265 video streams. This is a paid feature, because compatible playback in a browser requires additional video processing.

If the camera lets you choose the codec and the dedicated H.265 feature is not enabled, use H.264. Before using H.265, check the terms and whether the feature is available on your plan.

RTMP Push without a public IP

If the camera supports RTMP Push, it can send the video stream to the rtsp.me server itself. The connection is initiated by the camera, outwards from the local network.

IP camera → RTMP Push → rtsp.me → online stream

With this method you do not need:

To set it up you will need the RTMP publishing address provided by rtsp.me. Check the camera's specifications for RTMP Push specifically: being able to play RTMP and being able to send a stream are different features.

Main or sub stream

For a first setup it is often easier to use the camera's sub stream: it has a lower resolution and bitrate, so it needs less upload speed.

If the sub stream's quality is not good enough, switch to the main stream and check that your connection carries its bitrate reliably. The H.264, 25 FPS, GOP 50 and Smart Codec off settings apply to whichever stream you choose.

Frequently asked questions

Which manufacturers' cameras are suitable?
Most IP cameras from various manufacturers will work. For a standard connection the camera must support RTSP and give access to the RTSP link.
Which settings are recommended?
H.264, 25 FPS, a GOP of 50 frames — one I-frame every 2 seconds — and Smart Codec switched off.
Is H.265 supported?
Yes. H.265 support is a paid feature. For a standard connection, use H.264.
Why switch Smart Codec off?
Proprietary intelligent compression can change the stream structure dynamically and degrade the compatibility of an external stream.
Can it work without a public IP?
Yes, if the camera supports RTMP Push. It sends the stream to rtsp.me itself, so a static IP and port mapping are not required.

Configure the stream and check the camera

Choose H.264, set 25 FPS and GOP 50, switch Smart Codec off, then check the RTSP link on rtsp.me.

Check an RTSP link