Live video in Angelcam is never perfectly real time. This article explains where the delay comes from, why the first picture can take a few seconds, and what you can change.
Note: There is no low-latency setting anymore. Low latency is always on, and the player picks the fastest format your browser can play.
How fast your live video is
When you watch a camera in MyAngelcam or the Angelcam app, the player uses the fastest format your browser or device can play:
Fragmented MP4 or MPEG-TS — near real time. Most browsers use one of these, and so does the Angelcam app on iPhone and Android. The delay is usually the distance between two keyframes plus a little network delay (see below).
HLS — used only where the formats above can't play, for example in some versions of Safari. HLS needs a buffer of several video segments, so the delay is about 20–30 seconds.
MJPEG — MJPEG cameras play as MJPEG. The delay depends only on the camera's frame rate and the network.
If your browser can't decode H.265, the player falls back automatically. If you still get a black screen, see My H.265 camera connects but the video won't play.
Broadcasting (public camera pages and embedded players) always uses HLS so every viewer can play it. Public streams are therefore always about 20–30 seconds behind.
Why the first picture takes a few seconds
To save your upload bandwidth, Angelcam only pulls video from your camera when someone needs it. If nobody is watching and the camera has no Cloud Recording, Angelcam first has to connect to the camera. Then it waits for the next keyframe (a full picture the camera sends every few seconds) before it can show anything.
If someone else is already watching, or the camera has Cloud Recording (see Cloud recording FAQs), the connection is already open and the video starts almost at once.
How to make it faster
Set the keyframe interval to about 2 seconds. In the camera's video settings, this is usually called GOP, I-frame interval or keyframe interval, often counted in frames. At 30 frames per second, a GOP of
60is 2 seconds. A shorter interval starts video faster and lowers the delay, but uses a bit more bandwidth.Turn off dynamic GOP and smart codecs such as H.264+, H.265+ or Axis Zipstream. They stretch the keyframe interval and slow the start. See Axis cameras: fix live stream and recording issues by disabling Zipstream.
Keep the bitrate within your upload speed. If the camera sends more than your internet upload can carry, video buffers and falls behind. Lower the resolution or bitrate, or use the camera's sub stream.
Use H.264 if you need the lowest delay with playback everywhere. See H.264 vs H.265 cameras with Angelcam: which to choose.
Need an instant start? Cloud Recording keeps the connection to the camera open, so live video starts right away.
