Live View defaulting to MSE instead of WebRTC #12695
-
Describe the problem you are havingHave just upgraded to 0.14rc but can't seem to get Live View to push WebRTC - it goes with MSE which has a 3 second delay. WebRTC worked perfectly fine on 0.13 on the iPhone and Mac I am using (Safari for both). The removal of the Live View options means I am unable to override the preselection of MSE over WebRTC. Steps to reproduceUpgraded to 0.14rc. See below for specific config. Port 8555 is forwarded on my router. Version0.14.0-7c39b17 Frigate config filecameras:
3D_Printer:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/3D_Printer
input_args: preset-rtsp-restream
record:
enabled: true
retain:
days: 14
mode: all
detect:
enabled: false
live:
stream_name: 3D_Printer
go2rtc:
webrtc:
candidates:
- 192.168.1.28:8555
- stun:8555
streams:
3D_Printer:
- rtsp://192.168.1.35:34263/9fcf018353a4bea0
- "ffmpeg:3D_Printer#audio=opus"
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
ov:
type: openvino
device: AUTO
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
version: 0.14 Relevant log output2024-07-31 20:43:18.756981409 [INFO] Preparing Frigate...
2024-07-31 20:43:18.811529714 [INFO] Starting Frigate...
2024-07-31 20:43:21.038158053 [2024-07-31 20:43:21] frigate.app INFO : Starting Frigate (0.14.0-7c39b17)
2024-07-31 20:43:21.038437152 [2024-07-31 20:43:21] frigate.util.config INFO : Checking if frigate config needs migration...
2024-07-31 20:43:21.079995717 [2024-07-31 20:43:21] frigate.util.config INFO : frigate config does not need migration...
2024-07-31 20:43:27.118070828 [2024-07-31 20:43:27] frigate.config WARNING : Customizing more than a detector model path is unsupported.
2024-07-31 20:43:27.136379144 [2024-07-31 20:43:27] peewee_migrate.logs INFO : Starting migrations
2024-07-31 20:43:27.137174686 [2024-07-31 20:43:27] peewee_migrate.logs INFO : There is nothing to migrate
2024-07-31 20:43:27.369873254 [2024-07-31 20:43:27] frigate.app INFO : Recording process started: 348
2024-07-31 20:43:27.375442716 [2024-07-31 20:43:27] frigate.app INFO : Recording process started: 349
2024-07-31 20:43:27.378907392 [2024-07-31 20:43:27] frigate.app INFO : go2rtc process pid: 99
2024-07-31 20:43:27.412905536 [2024-07-31 20:43:27] frigate.app INFO : Output process started: 379
2024-07-31 20:43:27.436234744 [2024-07-31 20:43:27] detector.ov INFO : Starting detection process: 378
2024-07-31 20:43:27.437093502 [2024-07-31 20:43:27] frigate.detectors.plugins.openvino WARNING : OpenVINO AUTO device type is not currently supported. Attempting to use GPU instead.
2024-07-31 20:43:27.641452493 [2024-07-31 20:43:27] frigate.app INFO : Camera processor started for 3D_Printer: 395
2024-07-31 20:43:27.713167022 [2024-07-31 20:43:27] frigate.app INFO : Capture process started for 3D_Printer: 422 Operating systemProxmox Install methodDocker Compose Network connectionWired Camera make and modelTapo C100 Any other information that may be helpfuldocker_compose.yml:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
This is not a bug and is working as expected, mse is the default as it is more compatible. 3 seconds is quite high for a delay, MSE for all of my cameras is ~500 ms across multiple types of devices. |
Beta Was this translation helpful? Give feedback.
-
The delay is variable - sometimes it's sub-1s but I'm noticing that it frequently rewinds back a couple of seconds and continues streaming, an issue I never found with WebRTC. The list here suggests that WebRTC has the lowest latency - if Frigate could detect which browser was accessing it, couldn't it default to WebRTC for compatible browsers, and then fall back to MSE for incompatible browsers? Failing this - having the option to choose the stream source again would be fine...! |
Beta Was this translation helpful? Give feedback.
This is not a bug and is working as expected, mse is the default as it is more compatible. 3 seconds is quite high for a delay, MSE for all of my cameras is ~500 ms across multiple types of devices.