Added go2rtc restreaming

This commit is contained in:
Ashish D'Souza 2024-08-05 22:54:05 -05:00
parent d996fa127c
commit 6481511dcd
2 changed files with 23 additions and 6 deletions

View File

@ -9,12 +9,28 @@ detectors:
type: cpu
num_threads: 2
go2rtc:
streams:
garage:
- 'rtsp://{FRIGATE_GARAGE_RTSP_USERNAME}:{FRIGATE_GARAGE_RTSP_PASSWORD}@192.168.0.102:554/live'
doorbell:
- 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0'
front_door:
- 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
driveway:
- 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1'
back_door:
- 'rtsp://wyze-bridge:8554/back-yard-cam'
family_room:
- 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
cameras:
garage:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_GARAGE_RTSP_USERNAME}:{FRIGATE_GARAGE_RTSP_PASSWORD}@192.168.0.102:554/live'
- path: 'rtsp://127.0.0.1:8554/garage'
input_args: preset-rtsp-restream
roles:
- detect
- record
@ -32,7 +48,7 @@ cameras:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0'
- path: 'rtsp://127.0.0.1:8554/doorbell'
roles:
- detect
- record
@ -57,7 +73,7 @@ cameras:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
- path: 'rtsp://127.0.0.1:8554/front_door'
roles:
- detect
- record
@ -82,7 +98,7 @@ cameras:
enabled: false
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1'
- path: 'rtsp://127.0.0.1:8554/driveway'
roles:
- detect
- record
@ -97,7 +113,7 @@ cameras:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://wyze-bridge:8554/back-yard-cam'
- path: 'rtsp://127.0.0.1:8554/back_door'
roles:
- detect
- record
@ -115,7 +131,7 @@ cameras:
enabled: false
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
- path: 'rtsp://127.0.0.1:8554/family_room'
roles:
- detect
- record

View File

@ -51,6 +51,7 @@ services:
- frigate
ports:
- 127.0.0.1:10000:5000
- 554:8554
wyze-bridge:
container_name: frigate-wyze-bridge
image: mrlt8/wyze-bridge:2.9.7