[Support]: Setting up WebRTC #13228
-
Describe the problem you are havingI am unable to get WebRTC working within frigate. It works properly at Version0.14.0-da913d8 Frigate config fileobjects:
track:
- person
detect:
max_disappeared: 50
detectors:
coral:
type: edgetpu
device: usb
database:
path: /config/database/frigate.db
mqtt:
host: 192.168.0.15
port: 1883
topic_prefix: frigate
client_id: frigate
user: mosquitto
password: '!@#password'
stats_interval: 60
ffmpeg:
hwaccel_args: preset-vaapi #preset-intel-qsv-h264
go2rtc:
log:
level: debug # default level
streams:
front_door_camera_sub:
- "ffmpeg:http://192.168.0.210/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=!!#hardware"
front_door_camera_main:
- "ffmpeg:http://192.168.0.210/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=!!#video=copy#audio=copy#audio=opus#hardware"
patio_camera:
- "rtsp://192.168.50.15:554/live/main"
patio_camera_sub:
- "rtsp://192.168.50.15:554/live/sub"
faceshot_camera:
- "ffmpeg:rtsp://admin:[email protected]:8554/live0#video=h264#rotate=90#hardware"
faceshot_camera_sub:
- "ffmpeg:rtsp://admin:[email protected]:8554/live1#video=h264#rotate=90#hardware"
back_door_camera:
- "ffmpeg:rtsp://192.168.50.13:8554/CH001.sdp#video=h264#audio=opus#rotate=90#hardware"
back_door_camera_sub:
- "ffmpeg:rtsp://192.168.50.13:8554/CH002.sdp#video=h264#rotate=90#hardware"
cameras:
patio_camera:
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 1000
ffmpeg:
input_args: preset-rtsp-restream
inputs:
- path: rtsp://127.0.0.1:8554/patio_camera
roles:
- record
- path: rtsp://127.0.0.1:8554/patio_camera_sub
roles:
- detect
detect:
width: 704
height: 576
fps: 5
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: false
retain:
default: 10
objects:
person: 60
record:
enabled: true
events:
pre_capture: 10
post_capture: 10
objects:
- person
retain:
default: 10
objects:
person: 60
objects:
filters:
person:
min_area: 20000 #previouslyt 480000
motion:
threshold: 50
mask:
- 76,0,0,0,0,576,124,576
front_door_camera:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_door_camera_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_door_camera_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 640
height: 480
fps: 5
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
retain:
default: 10
objects:
person: 60
record:
enabled: true
retain:
days: 3
mode: all
events:
pre_capture: 2
post_capture: 10
objects:
- person
retain:
default: 10
objects:
person: 60
objects:
filters:
person:
mask:
- 0,405,0,267,0,0,464,0,466,121,382,135,197,337,171,370,153,397,137,413,96,480,0,480,0,448
back_door_camera:
ffmpeg:
input_args: preset-rtsp-restream
inputs:
- path: rtsp://127.0.0.1:8554/back_door_camera
roles:
- record
- path: rtsp://127.0.0.1:8554/back_door_camera_sub
roles:
- detect
detect:
width: 360
height: 640
fps: 5
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: false
required_zones: []
retain:
default: 10
objects:
person: 60
record:
enabled: true
events:
pre_capture: 10
post_capture: 10
objects:
- person
retain:
default: 10
objects:
person: 60
objects:
filters:
person:
min_area: 17000 #to mitigate trash detection
faceshot_camera:
ffmpeg:
input_args: preset-rtsp-restream
inputs:
- path: rtsp://127.0.0.1:8554/faceshot_camera
roles:
- record
- path: rtsp://127.0.0.1:8554/faceshot_camera_sub
roles:
- detect
detect:
width: 576
height: 704
fps: 5
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: false
required_zones: []
retain:
default: 10
objects:
person: 60
record:
enabled: true
events:
pre_capture: 10
post_capture: 10
objects:
- person
retain:
default: 10
objects:
person: 60
objects:
filters:
person:
min_area: 20000 #previouslyt 480000
zones:
facecam_zone:
coordinates: 1296,2304,1296,0,0,0,0,2304
version: 0.14 Relevant log outputChrome logs: `BirdseyeLivePlayer-DH4kjljD.js:9 WebSocket connection to 'ws://192.168.0.11:5000/live/jsmpeg/front_door_camera' failed: WebSocket is closed before the connection is established.`
Frigate Logs:
- - [20/Aug/2024:23:29:58 +0000] "GET /api/profile HTTP/1.1" 200 18 "http://192.168.0.11:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.859781140 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/config/raw HTTP/1.1" 200 2988 "http://192.168.0.11:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.860065558 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/config HTTP/1.1" 200 20510 "http://192.168.0.11:5000/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.977438346 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/preview/patio_camera/start/1724194731/end/1724194735 HTTP/1.1" 200 170 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.979831222 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/preview/faceshot_camera/start/1724193948/end/1724193948 HTTP/1.1" 200 178 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.983107005 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/back_door_camera/latest.webp?h=360&cache=1724196598909 HTTP/1.1" 200 12080 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:58.993093961 192.168.0.69 - - [20/Aug/2024:23:29:58 +0000] "GET /api/faceshot_camera/latest.webp?h=360&cache=1724196598910 HTTP/1.1" 200 22182 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.000179788 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/front_door_camera/latest.webp?h=360&cache=1724196598911 HTTP/1.1" 200 40250 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.003281371 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/patio_camera/latest.webp?h=360&cache=1724196598911 HTTP/1.1" 200 19820 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.114217261 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/preview/front_door_camera/start/1724193944/end/1724193949 HTTP/1.1" 200 182 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.117005066 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 3773 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.217316473 23:29:59.216 DBG [webrtc] new consumer src=front_door_camera
2024-08-20 23:29:59.237352453 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/patio_camera/latest.webp?h=320&cache=1724196598945 HTTP/1.1" 200 16778 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.237356680 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/front_door_camera/latest.webp?h=320&cache=1724196598945 HTTP/1.1" 200 32366 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.240645588 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/back_door_camera/latest.webp?h=640&cache=1724196598943 HTTP/1.1" 200 46684 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.263668440 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/faceshot_camera/latest.webp?h=658&cache=1724196598943 HTTP/1.1" 200 59504 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.275154244 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/patio_camera/latest.webp?h=320&cache=1724196599255 HTTP/1.1" 200 16778 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.279063247 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/front_door_camera/latest.webp?h=320&cache=1724196599256 HTTP/1.1" 200 32366 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.289355079 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/back_door_camera/latest.webp?h=640&cache=1724196599258 HTTP/1.1" 200 45748 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.323032519 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/faceshot_camera/latest.webp?h=658&cache=1724196599281 HTTP/1.1" 200 59504 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.536999157 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/patio_camera/latest.webp?h=320&cache=1724196599491 HTTP/1.1" 200 16796 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.546067035 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/front_door_camera/latest.webp?h=320&cache=1724196599495 HTTP/1.1" 200 32632 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.560165487 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/back_door_camera/latest.webp?h=640&cache=1724196599505 HTTP/1.1" 200 45748 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.589330597 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/faceshot_camera/latest.webp?h=658&cache=1724196599540 HTTP/1.1" 200 60032 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.801729862 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/patio_camera/latest.webp?h=320&cache=1724196599754 HTTP/1.1" 200 16826 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.814221301 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/front_door_camera/latest.webp?h=320&cache=1724196599766 HTTP/1.1" 200 32632 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.829561602 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/back_door_camera/latest.webp?h=640&cache=1724196599778 HTTP/1.1" 200 45212 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:29:59.860311449 192.168.0.69 - - [20/Aug/2024:23:29:59 +0000] "GET /api/faceshot_camera/latest.webp?h=658&cache=1724196599808 HTTP/1.1" 200 60252 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.005330805 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /live/mse/api/ws?src=faceshot_camera HTTP/1.1" 101 746 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.005463350 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /live/mse/api/ws?src=back_door_camera HTTP/1.1" 101 1175 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.007255483 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /live/mse/api/ws?src=patio_camera HTTP/1.1" 101 1208 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.046223312 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /live/jsmpeg/front_door_camera HTTP/1.1" 101 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.081175499 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /api/front_door_camera/latest.webp?h=33&cache=1724196600017 HTTP/1.1" 200 588 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
2024-08-20 23:30:00.084861485 23:30:00.084 DBG [webrtc] new consumer src=front_door_camera
2024-08-20 23:30:00.085234804 192.168.0.69 - - [20/Aug/2024:23:30:00 +0000] "GET /api/front_door_camera/latest.webp?h=360&cache=1724196600017 HTTP/1.1" 499 0 "http://192.168.0.11:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"
Frigate stats{"cameras":{"back_door_camera":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":430,"detection_enabled":true,"detection_fps":0.0,"ffmpeg_pid":444,"pid":398,"process_fps":5.0,"skipped_fps":0.0},"faceshot_camera":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":434,"detection_enabled":true,"detection_fps":2.5,"ffmpeg_pid":446,"pid":406,"process_fps":5.0,"skipped_fps":0.0},"front_door_camera":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":422,"detection_enabled":true,"detection_fps":5.7,"ffmpeg_pid":437,"pid":395,"process_fps":5.1,"skipped_fps":0.0},"patio_camera":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":413,"detection_enabled":true,"detection_fps":0.0,"ffmpeg_pid":427,"pid":391,"process_fps":5.0,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"108":{"cmdline":"python3 -u -m frigate","cpu":"3.7","cpu_average":"5","mem":"2.3"},"114":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"129":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.1"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"163":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"164":{"cmdline":"nginx: worker process","cpu":"0.1","cpu_average":"0","mem":"0.1"},"165":{"cmdline":"nginx: worker process","cpu":"0.1","cpu_average":"0","mem":"0.1"},"166":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"167":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"17":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"2942":{"cmdline":"sleep 60","cpu":"0.0","cpu_average":"0","mem":"0.0"},"2979":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"311":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.0.210/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=*&password=* -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/74dedf654e0cffb8aa0ad3227503633f","cpu":"9.4","cpu_average":"8","mem":"0.2"},"315":{"cmdline":"bash ./run.user certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"33":{"cmdline":"s6-supervise certsync-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"34":{"cmdline":"s6-supervise certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"341":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"0.8"},"343":{"cmdline":"frigate.recording_manager","cpu":"4.4","cpu_average":"3","mem":"1.0"},"352":{"cmdline":"frigate.review_segment_manager","cpu":"0.7","cpu_average":"0","mem":"0.8"},"371":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(63)","cpu":"0.4","cpu_average":"0","mem":"0.1"},"372":{"cmdline":"frigate.detector.coral","cpu":"7.2","cpu_average":"17","mem":"0.9"},"374":{"cmdline":"frigate.output ","cpu":"3.9","cpu_average":"4","mem":"0.9"},"391":{"cmdline":"frigate.process:patio_camera","cpu":"2.4","cpu_average":"2","mem":"1.0"},"395":{"cmdline":"frigate.process:front_door_camera","cpu":"6.0","cpu_average":"7","mem":"1.0"},"398":{"cmdline":"frigate.process:back_door_camera","cpu":"1.9","cpu_average":"2","mem":"1.1"},"406":{"cmdline":"frigate.process:faceshot_camera","cpu":"4.6","cpu_average":"12","mem":"1.1"},"413":{"cmdline":"frigate.capture:patio_camera","cpu":"1.5","cpu_average":"1","mem":"0.9"},"422":{"cmdline":"frigate.capture:front_door_camera","cpu":"1.1","cpu_average":"0","mem":"0.9"},"427":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/patio_camera_sub -r 5 -vf fps=5,scale_vaapi=w=704:h=576:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.2","cpu_average":"5","mem":"0.3"},"430":{"cmdline":"frigate.capture:back_door_camera","cpu":"1.0","cpu_average":"0","mem":"0.9"},"434":{"cmdline":"frigate.capture:faceshot_camera","cpu":"1.5","cpu_average":"1","mem":"0.9"},"437":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/front_door_camera_sub -r 5 -vf fps=5,scale_vaapi=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.1","cpu_average":"2","mem":"0.3"},"444":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/back_door_camera_sub -r 5 -vf fps=5,scale_vaapi=w=360:h=640:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.4","cpu_average":"1","mem":"0.3"},"445":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/patio_camera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/patio_camera@%Y%m%d%H%M%S%z.mp4","cpu":"1.2","cpu_average":"1","mem":"0.1"},"446":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/faceshot_camera_sub -r 5 -vf fps=5,scale_vaapi=w=576:h=704:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.5","cpu_average":"4","mem":"0.3"},"45":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"452":{"cmdline":"ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.0.210/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=*&password=* -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/1946a7b44377e0ec1759843cc3945817","cpu":"1.2","cpu_average":"0","mem":"0.2"},"454":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/front_door_camera_main -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/front_door_camera@%Y%m%d%H%M%S%z.mp4","cpu":"1.7","cpu_average":"1","mem":"0.2"},"457":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/back_door_camera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/back_door_camera@%Y%m%d%H%M%S%z.mp4","cpu":"3.0","cpu_average":"2","mem":"0.1"},"46":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"461":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-da913d8 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/faceshot_camera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/faceshot_camera@%Y%m%d%H%M%S%z.mp4","cpu":"3.1","cpu_average":"3","mem":"0.2"},"521":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"530":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"532":{"cmdline":"ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_flags allow_profile_mismatch -allowed_media_types video -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://192.168.50.13:8554/CH002.sdp -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -an -vf format=vaapi|nv12,hwupload,transpose_vaapi=1,scale_vaapi=out_color_matrix=bt709:out_range=tv:format=nv12 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/2705bea59e1b9bf82098b9570399ee62","cpu":"1.5","cpu_average":"1","mem":"0.3"},"536":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 360x640 -i pipe: -threads 1 -f mpegts -s 405x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"537":{"cmdline":"ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_flags allow_profile_mismatch -allowed_media_types video -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://*:*@192.168.50.10:8554/live1 -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -an -vf format=vaapi|nv12,hwupload,transpose_vaapi=1,scale_vaapi=out_color_matrix=bt709:out_range=tv:format=nv12 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/3e7e60bd47f7f0b022ae309b4e5873d0","cpu":"6.5","cpu_average":"5","mem":"0.3"},"539":{"cmdline":"ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_flags allow_profile_mismatch -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://192.168.50.13:8554/CH001.sdp -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -c:a libopus -application:a lowdelay -min_comp 0 -vf format=vaapi|nv12,hwupload,transpose_vaapi=1,scale_vaapi=out_color_matrix=bt709:out_range=tv:format=nv12 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/cd146034cffa06cc3a54236974c30ea2","cpu":"9.1","cpu_average":"8","mem":"0.3"},"541":{"cmdline":"ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_flags allow_profile_mismatch -allowed_media_types video -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://*:*@192.168.50.10:8554/live0 -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -an -vf format=vaapi|nv12,hwupload,transpose_vaapi=1,scale_vaapi=out_color_matrix=bt709:out_range=tv:format=nv12 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/a508243c7e507a88d99e0ed3d4751c2f","cpu":"6.7","cpu_average":"6","mem":"0.4"},"544":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 576x704 -i pipe: -threads 1 -f mpegts -s 589x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"549":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"86":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"87":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"90":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"96":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"16.1","cpu_average":"16","mem":"0.3"},"frigate.full_system":{"cpu":"31.3","mem":"14.5"}},"detection_fps":8.2,"detectors":{"coral":{"detection_start":0.0,"inference_speed":11.87,"pid":372}},"gpu_usages":{"intel-vaapi":{"gpu":"19.21%","mem":"-%"}},"processes":{"go2rtc":{"pid":96},"logger":{"pid":341},"recording":{"pid":343},"review_segment":{"pid":352}},"service":{"last_updated":1724196652,"latest_version":"0.14.0","storage":{"/dev/shm":{"free":2994.7,"mount_type":"tmpfs","total":3000.0,"used":5.3},"/media/frigate/clips":{"free":32951.3,"mount_type":"ext4","total":477061.4,"used":423639.6},"/media/frigate/recordings":{"free":32951.3,"mount_type":"ext4","total":477061.4,"used":423639.6},"/tmp/cache":{"free":841.2,"mount_type":"tmpfs","total":953.7,"used":112.5}},"temperatures":{},"uptime":556,"version":"0.14.0-da913d8"}}``` Operating systemOther Linux Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelReolink RCL-423 Any other information that may be helpfulThe WEBRTC seems to work directly in the Go2Rtc Webui, but not in Frigate iself |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Give the latest dev build, |
Beta Was this translation helpful? Give feedback.
-
Also, in addition to the latest dev build, you should read the WebRTC docs for the additional configuration changes you need in order to get it working correctly with Frigate. |
Beta Was this translation helpful? Give feedback.
-
I uncommented this part and it works! (My config sample is comment less, I had removed this part for debugging and forgot to put it back!) |
Beta Was this translation helpful? Give feedback.
I see your issue, actually.
Your camera name and your go2rtc stream names don't match. You called the camera
front_door_camera
but the go2rtc stream name isfront_door_camera_main
.That's fine, but Frigate won't use go2rtc for your live views unless you match up the name or specify it in your config for that camera:
See the docs: https://docs.frigate.video/configuration/live/#setting-stream-for-live-ui