You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/docs/configuration/live.md
+29-4
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ id: live
3
3
title: Live View
4
4
---
5
5
6
-
Frigate intelligently displays your camera streams on the Live view dashboard. Your camera images update once per minute when no detectable activity is occurring to conserve bandwidth and resources. As soon as any motion is detected, cameras seamlessly switch to a live stream.
6
+
Frigate intelligently displays your camera streams on the Live view dashboard. By default, Frigate employs "smart streaming" where camera images update once per minute when no detectable activity is occurring to conserve bandwidth and resources. As soon as any motion or objects are detected, cameras seamlessly switch to a live stream.
7
7
8
8
## Live View technologies
9
9
@@ -51,9 +51,15 @@ go2rtc:
51
51
- ffmpeg:rtsp://192.168.1.5:554/live0#video=copy
52
52
```
53
53
54
-
### Setting Stream For Live UI
54
+
### Setting Streams For Live UI
55
55
56
-
There may be some cameras that you would prefer to use the sub stream for live view, but the main stream for recording. This can be done via `live -> stream_name`.
56
+
In Frigate 0.16 and later, you can edit your configuration to allow manual selection of the stream you want to view in the Live UI. For example, you may want to view your camera's substream on mobile devices, but the full resolution stream on desktop devices. Setting the `live -> streams` list will populate a dropdown in the UI's Live view that allows you to choose between the streams. This settings is _per device_ and is saved in your device's local storage.
57
+
58
+
Additionally, when creating and editing camera groups in the UI, you can choose the stream you want to use for your camera group's Live dashboard. The default dashboard ("All Cameras") will always use the first entry you've defined in `streams:` for streaming.
59
+
60
+
Configure the `streams` option with a "friendly name" for your stream followed by the go2rtc stream name.
61
+
62
+
Go2rtc is required to use this feature. You cannot specify paths in the `streams` list, only go2rtc stream names.
57
63
58
64
```yaml
59
65
go2rtc:
@@ -80,7 +86,9 @@ cameras:
80
86
roles:
81
87
- detect
82
88
live:
83
-
stream_name: test_cam_sub
89
+
streams: # <--- Multiple streams for Frigate 0.16 and later
90
+
- Main Stream: test_cam
91
+
- Sub Stream: test_cam_sub
84
92
```
85
93
86
94
### WebRTC extra configuration:
@@ -138,3 +146,20 @@ services:
138
146
:::
139
147
140
148
See [go2rtc WebRTC docs](https://github.com/AlexxIT/go2rtc/tree/v1.8.3#module-webrtc) for more information about this.
149
+
150
+
### Streaming options on camera group dashboards
151
+
152
+
Frigate 0.16 and later provides a dialog in the Camera Group Edit pane with several options for streaming on a camera group's dashboard. These settings are _per device_ and are saved in your device's local storage.
153
+
154
+
- Stream selection using the `live -> streams` configuration option (see _Setting Streams For Live UI_ above)
155
+
- Streaming type:
156
+
- _No streaming_: Camera images will only update once per minute and no live streaming will occur.
157
+
- _Smart Streaming_ (default, recommended setting): Smart streaming will update your camera image once per minute when no detectable activity is occurring to conserve bandwidth and resources, since a static picture is the same as a streaming image with no motion or objects. When motion or objects are detected, the image seamlessly switches to a live stream.
158
+
- _Continuous Streaming_: Camera image will always be a live stream when visible on the dashboard, even if no activity is being detected. Continuous streaming may cause high bandwidth usage and performance issues. **Use with caution.**
159
+
- _Compatibility mode_: Enable this option only if your camera's live stream is displaying color artifacts and has a diagonal line on the right side of the image. Before enabling this, try setting your camera's `detect` width and height to a standard aspect ratio (for example: 640x352 becomes 640x360, and 800x443 becomes 800x450, 2688x1520 becomes 2688x1512, etc). Depending on your browser and device, more than a few cameras in compatibility mode may not be supported, so only use this option if changing your config fails to resolve the color artifacts and diagonal line.
160
+
161
+
:::note
162
+
163
+
The default dashboard ("All Cameras") will always use Smart Streaming and the first entry set in your `streams` configuration, if defined. Use a camera group if you need to change any of these settings from these defaults.
0 commit comments