[Config Support]: Force WebRTC stream type #19689
-
Describe the problem you are havingUsing the same camera, when the stream type is MSE I always have dropped frames, but whenever I enable WebRTC the dropped frames are gone. How can I force my live views to always use webrtc as default? Or is there something wrong with my config for MSE? This happens with both my tapo C310 cameras. Version0.16.0-c2f8de9 Frigate config fileversion: 0.16-0
###################################################################################################################################################
##### Configurações Aceleração de Hardware
###################################################################################################################################################
### Aceleração de hardware e gravar com som (default)
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-aac
### Detecção OPENVINO (default)
detectors:
ov_0:
type: openvino
device: GPU
ov_1:
type: openvino
device: GPU
model:
### Modelo YOLO-NAS (default)
model_type: yolonas
width: 320
height: 320
input_tensor: nchw
input_pixel_format: bgr
path: /config/yolo_nas_s.onnx
labelmap_path: /labelmap/coco-80.txt
### Labelmap (custom)
labelmap:
16: animal
17: animal
18: animal
19: animal
###################################################################################################################################################
##### Configurações Gerais Frigate
###################################################################################################################################################
timestamp_style:
format: '%d/%m/%Y %H:%M:%S'
motion:
improve_contrast: false
mask:
- 0.362,0,0,0,0,0.06,0.362,0.06 #Timestamp Tapo
threshold: 30
contour_area: 30
### (1s = 5fps)
detect:
enabled: true
max_disappeared: 50 #fps = 10s
annotation_offset: -100
snapshots:
enabled: true
bounding_box: true
crop: true
retain:
default: 15
record:
enabled: true
sync_recordings: true
retain:
days: 3
mode: all
alerts:
retain:
days: 15
detections:
retain:
days: 5
objects:
track:
- person
- animal
filters:
person:
max_ratio: 0.8
min_score: 0.65
threshold: 0.8
review:
alerts:
labels:
- person
###################################################################################################################################################
### Configurações MQTT
###################################################################################################################################################
mqtt:
host: 192.168.68.168
port: 1883
user: mqtt
password: ---------- # Senha MQTT
tls:
enabled: false
auth:
failed_login_rate_limit: 1/second;3/minute;5/hour
trusted_proxies:
- 192.168.68.0/24
go2rtc:
###################################################################################################################################################
## Configurações Go2RTC Embutido
## O go2rtc conecta direto na camera usando apenas um link e replica para outros acessos
###################################################################################################################################################
log:
format: text
api:
listen: :1984 # aceitar acesso apenas via HA "127.0.0.1:1984", por padrão qualquer stream fica liberado para toda rede local ":1984"
rtsp:
listen: :8554 # aceitar qualquer acesso, por padrão qualquer stream fica liberado para toda rede local
webrtc:
listen: :8555 # local server (TCP)
candidates:
- -----------:8555 # IP Externo (abrir 8555 tcp/udp e mandar pro IP local do frigate)
- -----------:8555 # IP Local
streams:
### Tapo C100 child1 - 132
## child1:
## - rtsp://loginlocal:[email protected]/stream1
## - tapo://admin:[email protected]
## - ffmpeg:child1#audio=aac
## child1_sd:
## - tapo://admin:[email protected]?subtype=1
## - rtsp://loginlocal:[email protected]/stream2
### Tapo C100 child2 - 133
child2:
- rtsp://loginlocal:[email protected]/stream1
- tapo://admin:[email protected]
- ffmpeg:child2#audio=aac
child2_sd:
- rtsp://loginlocal:[email protected]/stream2
- tapo://admin:[email protected]?subtype=1
### Tapo C310 Externa Frontal - 135
externa_frontal:
- rtsp://loginlocal:[email protected]/stream1
- tapo://admin:[email protected]
- ffmpeg:externa_frontal#audio=aac#audio=opus
externa_frontal_sd:
- rtsp://loginlocal:[email protected]/stream2
- tapo://admin:[email protected]?subtype=1
### Tapo C310 Externa Deck - 136
externa_deck:
- rtsp://loginlocal:[email protected]/stream1
- tapo://admin:[email protected]
- ffmpeg:externa_deck#audio=aac
externa_deck_sd:
- rtsp://loginlocal:[email protected]/stream2
- tapo://admin:[email protected]?subtype=1
###################################################################################################################################################
## Fim Configurações Go2RTC Embutido
###################################################################################################################################################
cameras:
###################################################################################################################################################
### Configurações de Câmeras Frigate
### O frigate acessará os links do go2rtc (localhost)
###################################################################################################################################################
### Tapo C100 - 132
## child1:
## ffmpeg:
## inputs:
## - path: rtsp://127.0.0.1:8554/child1
## input_args: preset-rtsp-restream
## roles:
## - record
## - path: rtsp://127.0.0.1:8554/child1_sd
## input_args: preset-rtsp-restream
## roles:
## - detect
## - path: rtsp://127.0.0.1:8554/child1_sd?audio
## roles:
## - audio
## live:
## streams:
## HD: child1
## SD: child1_sd
## detect:
## enabled: false
## audio:
## enabled: true
## listen:
## - crying
## - yell
## ui:
## order: 4
### Tapo C100 - 133
child2:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/child2
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/child2_sd
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/child2_sd?audio
roles:
- audio
live:
streams:
HD: child2
SD: child2_sd
detect:
enabled: false
audio:
enabled: true
listen:
- crying
- yell
ui:
order: 3
### Tapo C310 - 135
externa_frontal:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/externa_frontal
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/externa_frontal_sd
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/externa_frontal_sd?audio
roles:
- audio
live:
streams:
HD: externa_frontal
SD: externa_frontal_sd
audio:
enabled: true
listen:
- clapping
- honk
- car_alarm
zones:
patio:
coordinates: 1,1,1,0.438,0.458,0.364,0,0.408,0,1
inertia: 3
loitering_time: 0
objects:
- person
- animal
- car
- motorcycle
rua:
coordinates: 0.842,0.409,0.459,0.361,0.183,0.396,0,0.408,0,0,1,0,1,0.438
inertia: 3
loitering_time: 10
objects:
- person
- animal
review:
alerts:
labels:
- person
- motorcycle
- honk
required_zones: patio
detections:
required_zones: patio
objects:
track:
- person
- animal
- car
- motorcycle
ui:
order: 1
### Tapo C310 - 136
externa_deck:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/externa_deck
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/externa_deck_sd
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/externa_deck_sd?audio
roles:
- audio
live:
streams:
HD: externa_deck
SD: externa_deck_sd
objects:
track:
- person
- animal
filters:
person:
min_area: 5000
ui:
order: 4
###################################################################################################################################################
### Grupos de Câmeras
###################################################################################################################################################
motion:
mask:
- 0.362,0,0,0,0,0.06,0.362,0.06
- 0,0.263,0.154,0.192,0.152,0,0,0
camera_groups:
Quartos:
order: 1
icon: LuPersonStanding
cameras:
## - child1
- child2
Externas:
order: 2
icon: LuTrees
cameras:
- externa_deck
- externa_frontal
semantic_search:
enabled: true
reindex: false
model_size: small
face_recognition:
enabled: false
model_size: small
lpr:
enabled: false
classification:
bird:
enabled: falseRelevant Frigate log output2025-08-21 13:47:28.808965919 [INFO] Preparing Frigate...
2025-08-21 13:47:29.165941821 [INFO] Starting Frigate...
2025-08-21 13:47:32.349569223 [2025-08-21 10:47:32] frigate.util.config INFO : Checking if frigate config needs migration...
2025-08-21 13:47:32.385021451 [2025-08-21 10:47:32] frigate.util.config INFO : frigate config does not need migration...
2025-08-21 13:47:38.980804283 [2025-08-21 10:47:38] frigate.app INFO : Starting Frigate (0.16.0-c2f8de9)
2025-08-21 13:47:38.981645067 [2025-08-21 10:47:38] frigate.app INFO : Creating directory: /tmp/cache
2025-08-21 13:47:38.991665446 [2025-08-21 10:47:38] peewee_migrate.logs INFO : Starting migrations
2025-08-21 13:47:39.405446035 [2025-08-21 10:47:38] peewee_migrate.logs INFO : There is nothing to migrate
2025-08-21 13:47:39.428438663 [2025-08-21 10:47:39] frigate.app INFO : Recording process started: 408
2025-08-21 13:47:39.430806970 [2025-08-21 10:47:39] frigate.app INFO : Review process started: 413
2025-08-21 13:47:39.431458706 [2025-08-21 10:47:39] frigate.app INFO : go2rtc process pid: 127
2025-08-21 13:47:39.443909638 [2025-08-21 10:47:39] detector.ov_0 INFO : Starting detection process: 433
2025-08-21 13:47:39.452090392 [2025-08-21 10:47:39] detector.ov_1 INFO : Starting detection process: 436
2025-08-21 13:47:39.452986368 [2025-08-21 10:47:39] frigate.app INFO : Embedding process started: 439
2025-08-21 13:47:39.491094703 [2025-08-21 10:47:39] frigate.app INFO : Output process started: 462
2025-08-21 13:47:39.706566742 [2025-08-21 10:47:39] frigate.app INFO : Camera processor started for miguel: 512
2025-08-21 13:47:39.726967633 [2025-08-21 10:47:39] frigate.app INFO : Camera processor started for externa_frontal: 514
2025-08-21 13:47:39.728277184 [2025-08-21 10:47:39] frigate.app INFO : Camera processor started for externa_deck: 527
2025-08-21 13:47:39.750561015 [2025-08-21 10:47:39] frigate.app INFO : Capture process started for miguel: 545
2025-08-21 13:47:39.788677215 [2025-08-21 10:47:39] frigate.app INFO : Capture process started for externa_frontal: 551
2025-08-21 13:47:39.789606448 [2025-08-21 10:47:39] frigate.app INFO : Capture process started for externa_deck: 562
2025-08-21 13:47:39.840030959 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-08-21 13:47:39.908454037 [2025-08-21 10:47:39] frigate.audio_manager INFO : Audio processor started (pid: 587)
2025-08-21 13:47:40.107932562 [2025-08-21 10:47:40] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-08-21 13:47:40.291674064 [2025-08-21 10:47:40] frigate.api.fastapi_app INFO : FastAPI startedRelevant go2rtc log output2025-08-21 13:47:28.989177465 [INFO] Preparing new go2rtc config...
2025-08-21 13:47:29.019805771 [INFO] Got IP address from supervisor: 192.168.68.168
2025-08-21 13:47:29.050549847 [INFO] Got WebRTC port from supervisor: 8555
2025-08-21 13:47:29.412830937 [INFO] Starting go2rtc...
2025-08-21 13:47:29.491797469 10:47:29.491 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-08-21 13:47:29.491918572 10:47:29.491 INF config path=/dev/shm/go2rtc.yaml
2025-08-21 13:47:29.492347173 10:47:29.492 INF [api] listen addr=:1984
2025-08-21 13:47:29.492496712 10:47:29.492 INF [rtsp] listen addr=:8554
2025-08-21 13:47:29.492881690 10:47:29.492 INF [webrtc] listen addr=:8555
2025-08-21 13:47:38.312260330 [INFO] Starting go2rtc healthcheck service...Frigate statsNo response Operating systemHome Assistant OS Install methodHome Assistant Add-on docker-compose file or Docker CLI commandNoneObject DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Having some dropped frames is really not a problem, especially that low of a %. There is no way to force WebRTC |
Beta Was this translation helpful? Give feedback.
-
|
Additionally, some browsers do not correctly report dropped frames. The statistics are a best attempt in some cases. |
Beta Was this translation helpful? Give feedback.


Having some dropped frames is really not a problem, especially that low of a %. There is no way to force WebRTC