I'm having a hard time getting 2 way talk to work on stream 1 for all my camera, it works fine on stream 2, I have tried adding a 3rd stream just for 2 way talk and even making that the only live stream but nothing has worked. The only way it works is if i set stream 1 to detect.
Any help would be great.
mqtt:
enabled: true
host: X.X.X.103
user: '{FRIGATE_MQTT_USER}'
password: '{FRIGATE_MQTT_PASSWORD}'
cameras:
porch:
enabled: true
ffmpeg:
inputs:
- path:
rtsp://127.0.0.1:8554/porch_1
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.102:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- record
# - detect
- path:
rtsp://127.0.0.1:8554/porch_2
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.102:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 704
height: 480
record:
enabled: true
live:
streams:
Stream 1: porch_1
Stream 2: porch_2
garage:
enabled: true
ffmpeg:
inputs:
- path:
rtsp://127.0.0.1:8554/garage_1
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.104:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://127.0.0.1:8554/garage_2
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.104:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- detect
onvif:
host: X.X.X.104
port: 80
user: '{FRIGATE_USER}'
password: '{FRIGATE_PASSWORD}'
detect:
width: 640
height: 480
live:
streams:
Stream 1: garage_1
Stream 2: garage_2
hallway:
enabled: true
ffmpeg:
inputs:
- path:
rtsp://127.0.0.1:8554/hallway_1
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.106:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- record
- path:
rtsp://127.0.0.1:8554/hallway_2
# rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.106:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
input_args: preset-rtsp-restream
roles:
- detect
onvif:
host: X.X.X.106
port: 80
user: '{FRIGATE_USER}'
password: '{FRIGATE_PASSWORD}'
live:
streams:
Stream 1: hallway_1
Stream 2: hallway_2
front_hallway:
enabled: true
friendly_name: Front Hallway
ffmpeg:
inputs:
- path:
rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142:554/Preview_01_main
roles:
- record
- path:
rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142:554/Preview_01_sub
roles:
- detect
onvif:
host: X.X.X.142
port: 8000
user: '{FRIGATE_USER}'
password: '{FRIGATE_PASSWORD}'
live:
streams:
Stream 1: front_hallway_1
Stream 2: front_hallway_2
driveway:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/driveway_1
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/driveway_2
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 704
height: 480
live:
streams:
Stream 1: driveway_1
Stream 2: driveway_2
auth:
enabled: false
detect:
enabled: false
ffmpeg:
hwaccel_args: auto
detectors:
detector01:
type: openvino
device: AUTO
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
version: 0.17-0
go2rtc:
webrtc:
candidates:
- X.X.X.184:8555
- stun:8555
streams:
porch_1:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.102:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
# - ffmpeg:porch_1#audio=opus # Optional: Re-encodes audio for better browser compatibility
porch_2:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.102:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
garage_1:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.104:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
garage_2:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.104:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
hallway_1:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.106:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
hallway_2:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.106:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
front_hallway_1:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142:554/Preview_01_main
# - ffmpeg:http://X.X.X.142/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=${FRIGATE_USER}:&password=${FRIGATE_PASSWORD}#video=copy#audio=copy#audio=opus
# - rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142/Preview_01_sub
front_hallway_2:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142:554/Preview_01_sub
# - ffmpeg:http://X.X.X.142/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=${FRIGATE_USER}:&password=${FRIGATE_PASSWORD}
# - rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.142/Preview_01_sub
driveway_1:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.103:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
driveway_2:
- rtsp://{FRIGATE_USER}:{FRIGATE_PASSWORD}@X.X.X.103:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif