Connect 2nd Frigate Instance to go2rtc Stream From Main? #19395
-
|
I want to do some testing with storage options on a network share and thought maybe I can setup a second frigate instance on a different host and tap into the streams from the primary frigate instance. Is there a config example how I can setup a config to tap into another frigate instance stream. My cameras are good but don't do well with a second stream. definiitely can't handle a 3rd. So the viewer on the cam for config changes is challenging. Want to keep just one main stream connection the cams from the primary frigate instance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Yes, you can connect a second Frigate instance to go2rtc streams from your main instance (1). Frigate can restream your video feed as an RTSP feed at Here's how to configure your second Frigate instance to connect to streams from your primary instance: cameras:
camera_name:
ffmpeg:
inputs:
- path: rtsp://<primary_frigate_host>:8554/<camera_name>
input_args: preset-rtsp-restream
roles:
- detect
- recordThe primary Frigate instance handles the single connection to each camera and restreams it (1). The video feed is copied from the original video feed directly to avoid re-encoding (1). Port 8554 must be open on your primary Frigate host (1). If you want to use go2rtc streams from the primary instance in your secondary instance, you can also configure go2rtc on the secondary instance to pull from the primary: go2rtc:
streams:
camera_name:
- rtsp://<primary_frigate_host>:8554/<camera_name>This approach reduces connections to your cameras since only the primary Frigate instance connects directly to each camera, while the secondary instance connects to the restream (1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
The AI that has been added here fkin kicks ass. |
Beta Was this translation helpful? Give feedback.
Yes, you can connect a second Frigate instance to go2rtc streams from your main instance (1). Frigate can restream your video feed as an RTSP feed at
rtsp://<frigate_host>:8554/<camera_name>(1). This allows you to use a video feed for detection in one Frigate instance and connect another Frigate instance to the same stream without making multiple connections to the camera (1).Here's how to configure your second Frigate instance to connect to streams from your primary instance: