Skip to content

Camera Substreams

mrlt8 edited this page May 29, 2023 · 2 revisions

The bridge can pull two simultaneous streams from each camera (high and low resolution), however, the camera firmware needs to support this feature for it to work properly.

If enabled, the bridge will create a substream for the camera with -sub at the end of the URI. e.g.:

rtsp://localhost:8554/cam-name-sub

Note: The substream does not create a control thread, so you will need to send commands to the main stream.

Substream Config

Enable substream for all cameras with supported firmware:

SUBSTREAM=True

Enable substream for a single camera without FW version check:

SUBSTREAM_CAM_NAME=True

The home assistant equivalent for a single camera be enabled under Camera Specific Options with:

- CAM_NAME: My Camera
  SUBSTREAM: true

The substream quality will default to SD30, but can be configured with:

SUB_QUALITY=SD60