Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "Use Frigate-native WebRTC support" option #795

Open
qbaza opened this issue Nov 30, 2024 · 2 comments
Open

Problem with "Use Frigate-native WebRTC support" option #795

qbaza opened this issue Nov 30, 2024 · 2 comments

Comments

@qbaza
Copy link

qbaza commented Nov 30, 2024

When I enable the "Use Frigate-native WebRTC support" option in the HA integration, one of my cameras doesn't want to stream anymore. Turning the option off fixes the issue, although camera feed is slower to load.

In the log below the camera is named front_yard_cam. It is Reolink with H265 stream.

Another camera (Reolink Doorbell) with H264 stream works fine.

Version of the custom_component

5.5.1

Error

2024-11-30 13:49:21.141 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140252426135312] Error handling message: Unknown error (unknown_error) **REDACTED** from **REDACTED** (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/camera/webrtc.py", line 263, in ws_webrtc_offer
    await camera.async_handle_async_webrtc_offer(offer, session_id, send_message)
  File "/config/custom_components/frigate/camera.py", line 455, in async_handle_async_webrtc_offer
    answer = await resp.json()
             ^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 80, in json
    return await super().json(*args, loads=loads, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1278, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 500, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='http://**REDACTED**:5000/api/go2rtc/webrtc?src=front_yard_cam'

Debug log

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.11.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Los_Angeles",
    "os_name": "Linux",
    "os_version": "6.6.54-haos",
    "supervisor": "2024.11.4",
    "host_os": "Home Assistant OS 13.2",
    "docker_version": "27.2.0",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "ui_lovelace_minimalist": {
      "documentation": "https://ui-lovelace-minimalist.github.io/UI/",
      "version": "v1.3.10",
      "requirements": [
        "aiofiles==0.8.0",
        "aiogithubapi>=22.2.4"
      ]
    },
    "smartthinq_sensors": {
      "documentation": "https://github.com/ollo69/ha-smartthinq-sensors",
      "version": "0.40.3",
      "requirements": [
        "pycountry>=23.12.11",
        "xmltodict>=0.13.0",
        "charset_normalizer>=3.2.0"
      ]
    },
    "alexa_media": {
      "documentation": "https://github.com/alandtse/alexa_media_player/wiki",
      "version": "5.0.0",
      "requirements": [
        "alexapy==1.29.4",
        "packaging>=20.3",
        "wrapt>=1.14.0"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.5.1",
      "requirements": [
        "hass-web-proxy-lib==0.0.7",
        "pytz"
      ]
    },
    "alarmo": {
      "documentation": "https://github.com/nielsfaber/alarmo",
      "version": "v1.10.7",
      "requirements": []
    },
    "browser_mod": {
      "documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
      "version": "2.3.1",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "frigate",
    "name": "Frigate",
    "codeowners": [
      "blakeblackshear",
      "dermotduffy",
      "NickM-27"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "media_source",
      "mqtt"
    ],
    "documentation": "https://github.com/blakeblackshear/frigate",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/blakeblackshear/frigate-hass-integration/issues",
    "requirements": [
      "hass-web-proxy-lib==0.0.7",
      "pytz"
    ],
    "version": "5.5.1",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {},
  "data": {
    "frigate_config": {
      "version": "0.15-0",
      "environment_vars": {},
      "auth": {
        "enabled": true,
        "reset_admin_password": false,
        "cookie_name": "frigate_token",
        "cookie_secure": false,
        "session_length": 86400,
        "refresh_time": 43200,
        "trusted_proxies": [],
        "hash_iterations": 600000
      },
      "database": {
        "path": "**REDACTED**"
      },
      "go2rtc": {
        "streams": {
          "front_yard_cam": "ffmpeg:rtsp://**REDACTED**/h265Preview_01_main",
          "doorbell_cam": "rtsp://**REDACTED**/h264Preview_01_main"
        },
        "webrtc": {
          "candidates": [
            "**REDACTED**:8555",
            "stun:8555"
          ]
        }
      },
      "mqtt": {
        "enabled": true,
        "host": "**REDACTED**",
        "port": 1883,
        "topic_prefix": "frigate",
        "client_id": "frigate",
        "stats_interval": 60,
        "user": "mqtt_user"
      },
      "notifications": {
        "enabled": false,
        "enabled_in_config": false
      },
      "proxy": {
        "header_map": {}
      },
      "telemetry": {
        "network_interfaces": [],
        "stats": {
          "amd_gpu_stats": true,
          "intel_gpu_stats": true,
          "network_bandwidth": false
        },
        "version_check": true
      },
      "tls": {
        "enabled": true
      },
      "semantic_search": {
        "enabled": false,
        "reindex": false,
        "model_size": "small"
      },
      "ui": {
        "time_format": "browser",
        "date_style": "short",
        "time_style": "medium"
      },
      "detectors": {
        "open_vino_1": {
          "type": "openvino",
          "model": {
            "path": "**REDACTED**",
            "labelmap_path": "/models/yolo-nas/coco_80cl.txt",
            "width": 320,
            "height": 320,
            "labelmap": {
              "0": "person",
              "1": "bicycle",
              "2": "vehicle",
              "3": "vehicle",
              "4": "airplane",
              "5": "vehicle",
              "6": "train",
              "7": "vehicle",
              "8": "boat",
              "9": "trafficlight",
              "10": "firehydrant",
              "11": "stopsign",
              "12": "parkingmeter",
              "13": "bench",
              "14": "bird",
              "15": "animal",
              "16": "animal",
              "17": "animal",
              "18": "animal",
              "19": "animal",
              "20": "elephant",
              "21": "animal",
              "22": "zebra",
              "23": "giraffe",
              "24": "backpack",
              "25": "umbrella",
              "26": "handbag",
              "27": "tie",
              "28": "suitcase",
              "29": "frisbee",
              "30": "skis",
              "31": "snowboard",
              "32": "sportsball",
              "33": "kite",
              "34": "baseballbat",
              "35": "baseballglove",
              "36": "skateboard",
              "37": "surfboard",
              "38": "tennisracket",
              "39": "bottle",
              "40": "wineglass",
              "41": "cup",
              "42": "fork",
              "43": "knife",
              "44": "spoon",
              "45": "bowl",
              "46": "banana",
              "47": "apple",
              "48": "sandwich",
              "49": "orange",
              "50": "broccoli",
              "51": "carrot",
              "52": "hotdog",
              "53": "pizza",
              "54": "donut",
              "55": "cake",
              "56": "chair",
              "57": "couch",
              "58": "pottedplant",
              "59": "bed",
              "60": "diningtable",
              "61": "toilet",
              "62": "tv",
              "63": "laptop",
              "64": "mouse",
              "65": "remote",
              "66": "keyboard",
              "67": "cellphone",
              "68": "microwave",
              "69": "oven",
              "70": "toaster",
              "71": "sink",
              "72": "refrigerator",
              "73": "book",
              "74": "clock",
              "75": "vase",
              "76": "scissors",
              "77": "teddybear",
              "78": "hairdrier",
              "79": "toothbrush",
              "80": "unknown",
              "81": "unknown",
              "82": "unknown",
              "83": "unknown",
              "84": "unknown",
              "85": "unknown",
              "86": "unknown",
              "87": "unknown",
              "88": "unknown",
              "89": "unknown",
              "90": "unknown"
            },
            "attributes_map": {
              "person": [
                "amazon",
                "face"
              ],
              "car": [
                "amazon",
                "an_post",
                "dhl",
                "dpd",
                "fedex",
                "gls",
                "license_plate",
                "nzpost",
                "postnl",
                "postnord",
                "purolator",
                "ups",
                "usps"
              ]
            },
            "input_tensor": "nchw",
            "input_pixel_format": "bgr",
            "input_dtype": "int",
            "model_type": "yolonas"
          }
        },
        "open_vino_2": {
          "type": "openvino",
          "model": {
            "path": "**REDACTED**",
            "labelmap_path": "/models/yolo-nas/coco_80cl.txt",
            "width": 320,
            "height": 320,
            "labelmap": {
              "0": "person",
              "1": "bicycle",
              "2": "vehicle",
              "3": "vehicle",
              "4": "airplane",
              "5": "vehicle",
              "6": "train",
              "7": "vehicle",
              "8": "boat",
              "9": "trafficlight",
              "10": "firehydrant",
              "11": "stopsign",
              "12": "parkingmeter",
              "13": "bench",
              "14": "bird",
              "15": "animal",
              "16": "animal",
              "17": "animal",
              "18": "animal",
              "19": "animal",
              "20": "elephant",
              "21": "animal",
              "22": "zebra",
              "23": "giraffe",
              "24": "backpack",
              "25": "umbrella",
              "26": "handbag",
              "27": "tie",
              "28": "suitcase",
              "29": "frisbee",
              "30": "skis",
              "31": "snowboard",
              "32": "sportsball",
              "33": "kite",
              "34": "baseballbat",
              "35": "baseballglove",
              "36": "skateboard",
              "37": "surfboard",
              "38": "tennisracket",
              "39": "bottle",
              "40": "wineglass",
              "41": "cup",
              "42": "fork",
              "43": "knife",
              "44": "spoon",
              "45": "bowl",
              "46": "banana",
              "47": "apple",
              "48": "sandwich",
              "49": "orange",
              "50": "broccoli",
              "51": "carrot",
              "52": "hotdog",
              "53": "pizza",
              "54": "donut",
              "55": "cake",
              "56": "chair",
              "57": "couch",
              "58": "pottedplant",
              "59": "bed",
              "60": "diningtable",
              "61": "toilet",
              "62": "tv",
              "63": "laptop",
              "64": "mouse",
              "65": "remote",
              "66": "keyboard",
              "67": "cellphone",
              "68": "microwave",
              "69": "oven",
              "70": "toaster",
              "71": "sink",
              "72": "refrigerator",
              "73": "book",
              "74": "clock",
              "75": "vase",
              "76": "scissors",
              "77": "teddybear",
              "78": "hairdrier",
              "79": "toothbrush",
              "80": "unknown",
              "81": "unknown",
              "82": "unknown",
              "83": "unknown",
              "84": "unknown",
              "85": "unknown",
              "86": "unknown",
              "87": "unknown",
              "88": "unknown",
              "89": "unknown",
              "90": "unknown"
            },
            "attributes_map": {
              "person": [
                "amazon",
                "face"
              ],
              "car": [
                "amazon",
                "an_post",
                "dhl",
                "dpd",
                "fedex",
                "gls",
                "license_plate",
                "nzpost",
                "postnl",
                "postnord",
                "purolator",
                "ups",
                "usps"
              ]
            },
            "input_tensor": "nchw",
            "input_pixel_format": "bgr",
            "input_dtype": "int",
            "model_type": "yolonas"
          }
        }
      },
      "model": {
        "path": "**REDACTED**",
        "labelmap_path": "/models/yolo-nas/coco_80cl.txt",
        "width": 320,
        "height": 320,
        "labelmap": {
          "2": "vehicle",
          "3": "vehicle",
          "5": "vehicle",
          "7": "vehicle",
          "15": "animal",
          "16": "animal",
          "17": "animal",
          "18": "animal",
          "19": "animal",
          "21": "animal"
        },
        "attributes_map": {
          "person": [
            "amazon",
            "face"
          ],
          "car": [
            "amazon",
            "an_post",
            "dhl",
            "dpd",
            "fedex",
            "gls",
            "license_plate",
            "nzpost",
            "postnl",
            "postnord",
            "purolator",
            "ups",
            "usps"
          ]
        },
        "input_tensor": "nchw",
        "input_pixel_format": "bgr",
        "input_dtype": "int",
        "model_type": "yolonas",
        "colormap": {
          "animal": [
            31,
            119,
            180
          ],
          "person": [
            255,
            127,
            14
          ],
          "vehicle": [
            44,
            160,
            44
          ]
        }
      },
      "cameras": {
        "front_yard_cam": {
          "name": "front_yard_cam",
          "enabled": true,
          "audio": {
            "enabled": false,
            "max_not_heard": 30,
            "min_volume": 500,
            "listen": [
              "bark",
              "fire_alarm",
              "scream",
              "speech",
              "yell"
            ],
            "enabled_in_config": false,
            "num_threads": 2
          },
          "birdseye": {
            "enabled": true,
            "mode": "objects",
            "order": 0
          },
          "detect": {
            "height": 720,
            "width": 1920,
            "fps": 4,
            "enabled": true,
            "min_initialized": 4,
            "max_disappeared": 20,
            "stationary": {
              "interval": 40,
              "threshold": 40,
              "max_frames": {
                "objects": {}
              }
            },
            "annotation_offset": 0
          },
          "ffmpeg": {
            "path": "**REDACTED**",
            "global_args": [
              "-hide_banner",
              "-loglevel",
              "warning",
              "-threads",
              "2"
            ],
            "hwaccel_args": "preset-intel-qsv-h265",
            "input_args": "preset-rtsp-generic",
            "output_args": {
              "detect": [
                "-threads",
                "2",
                "-f",
                "rawvideo",
                "-pix_fmt",
                "yuv420p"
              ],
              "record": "preset-record-generic"
            },
            "retry_interval": 10.0,
            "inputs": [
              {
                "path": "**REDACTED**",
                "roles": [
                  "record",
                  "detect"
                ],
                "global_args": [],
                "hwaccel_args": [],
                "input_args": "preset-rtsp-restream"
              }
            ]
          },
          "genai": {
            "enabled": false,
            "use_snapshot": false,
            "prompt": "Analyze the sequence of images containing the {label}. Focus on the likely intent or behavior of the {label} based on its actions and movement, rather than describing its appearance or the surroundings. Consider what the {label} is doing, why, and what it might do next.",
            "object_prompts": {},
            "objects": [],
            "required_zones": []
          },
          "live": {
            "stream_name": "front_yard_cam",
            "height": 720,
            "quality": 8
          },
          "motion": {
            "enabled": true,
            "threshold": 35,
            "lightning_threshold": 0.8,
            "improve_contrast": true,
            "contour_area": 20,
            "delta_alpha": 0.2,
            "frame_alpha": 0.01,
            "frame_height": 100,
            "mask": "0,0,0,1,0.083,1,0,0.691,0,0.434,0.252,0.166,0.347,0.099,0.514,0.076,0.613,0.124,0.742,0.255,1,0.584,1,0",
            "mqtt_off_delay": 30,
            "enabled_in_config": true,
            "raw_mask": null
          },
          "objects": {
            "track": [
              "person",
              "vehicle",
              "animal"
            ],
            "filters": {
              "person": {
                "min_area": 100,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              },
              "animal": {
                "min_area": 0,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              },
              "vehicle": {
                "min_area": 400,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              }
            },
            "mask": ""
          },
          "record": {
            "enabled": true,
            "sync_recordings": false,
            "expire_interval": 60,
            "retain": {
              "days": 3.0,
              "mode": "motion"
            },
            "detections": {
              "pre_capture": 5,
              "post_capture": 5,
              "retain": {
                "days": 30.0,
                "mode": "motion"
              }
            },
            "alerts": {
              "pre_capture": 5,
              "post_capture": 5,
              "retain": {
                "days": 30.0,
                "mode": "motion"
              }
            },
            "export": {
              "timelapse_args": "-vf setpts=0.04*PTS -r 30"
            },
            "preview": {
              "quality": "medium"
            },
            "enabled_in_config": true
          },
          "review": {
            "alerts": {
              "labels": [
                "person",
                "vehicle",
                "animal"
              ],
              "required_zones": [
                "driveway",
                "yard",
                "sidewalk",
                "house_front"
              ]
            },
            "detections": {
              "required_zones": [
                "driveway",
                "yard",
                "sidewalk",
                "house_front"
              ]
            }
          },
          "snapshots": {
            "enabled": true,
            "clean_copy": true,
            "timestamp": false,
            "bounding_box": true,
            "crop": true,
            "required_zones": [
              "driveway",
              "yard",
              "sidewalk",
              "house_front",
              "porch"
            ],
            "retain": {
              "default": 90.0,
              "mode": "motion",
              "objects": {}
            },
            "quality": 70
          },
          "timestamp_style": {
            "position": "tl",
            "format": "%m/%d/%Y %H:%M:%S",
            "color": {
              "red": 255,
              "green": 255,
              "blue": 255
            },
            "thickness": 2
          },
          "best_image_timeout": 60,
          "mqtt": {
            "enabled": true,
            "timestamp": true,
            "bounding_box": true,
            "crop": true,
            "height": 270,
            "required_zones": [],
            "quality": 70
          },
          "onvif": {
            "host": "",
            "port": 8000,
            "autotracking": {
              "enabled": false,
              "calibrate_on_startup": false,
              "zooming": "disabled",
              "zoom_factor": 0.3,
              "track": [
                "person"
              ],
              "required_zones": [],
              "return_preset": "home",
              "timeout": 10,
              "movement_weights": [],
              "enabled_in_config": false
            },
            "ignore_time_mismatch": false
          },
          "ui": {
            "order": 0,
            "dashboard": true
          },
          "zones": {
            "driveway": {
              "filters": {
                "person": {
                  "min_area": 400,
                  "max_area": 24000000,
                  "min_ratio": 0.0,
                  "max_ratio": 24000000.0,
                  "threshold": 0.7,
                  "min_score": 0.5,
                  "raw_mask": null
                }
              },
              "coordinates": "0.743,0.7,0.185,0.63,0.308,0.357,0.404,0.229,0.406,0.202,0.479,0.181,0.576,0.28",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [],
              "color": [
                31,
                119,
                180
              ]
            },
            "yard": {
              "filters": {},
              "coordinates": "0.306,0.356,0.404,0.231,0.406,0.194,0.315,0.247,0.215,0.332,0.051,0.551,0.065,0.614,0.106,0.586,0.182,0.631",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [
                "animal",
                "person"
              ],
              "color": [
                255,
                127,
                14
              ]
            },
            "street": {
              "filters": {},
              "coordinates": "0.619,0.184,0.472,0.166,0.362,0.201,0.204,0.326,0.055,0.487,0.042,0.411,0.207,0.182,0.361,0.071,0.505,0.045,0.623,0.1",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [],
              "color": [
                44,
                160,
                44
              ]
            },
            "sidewalk": {
              "filters": {
                "animal": {
                  "min_area": 900,
                  "max_area": 24000000,
                  "min_ratio": 0.0,
                  "max_ratio": 24000000.0,
                  "threshold": 0.7,
                  "min_score": 0.5,
                  "raw_mask": null
                }
              },
              "coordinates": "0.863,0.935,0.911,1,1,1,1,0.582,0.75,0.26,0.651,0.163,0.646,0.223,0.49,0.184,0.576,0.277,0.749,0.711",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [
                "animal",
                "person"
              ],
              "color": [
                214,
                39,
                40
              ]
            },
            "house_front": {
              "filters": {
                "person": {
                  "min_area": 1600,
                  "max_area": 24000000,
                  "min_ratio": 0.0,
                  "max_ratio": 24000000.0,
                  "threshold": 0.7,
                  "min_score": 0.5,
                  "raw_mask": null
                }
              },
              "coordinates": "0,1,0.907,1,0.863,0.937,0.745,0.707,0.183,0.63,0.107,0.588,0.065,0.616,0.018,0.413,0,0.429",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [],
              "color": [
                148,
                103,
                189
              ]
            }
          },
          "ffmpeg_cmds": [
            {
              "roles": [
                "record",
                "detect"
              ],
              "cmd": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -load_plugin hevc_hw -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v hevc_qsv -user_agent FFmpeg Frigate/0.15.0-e76f4e9 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/front_yard_cam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/front_yard_cam@%Y%m%d%H%M%S%z.mp4 -r 4 -vf vpp_qsv=framerate=4:w=1920:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
            }
          ]
        },
        "doorbell_cam": {
          "name": "doorbell_cam",
          "enabled": true,
          "audio": {
            "enabled": false,
            "max_not_heard": 30,
            "min_volume": 500,
            "listen": [
              "bark",
              "fire_alarm",
              "scream",
              "speech",
              "yell"
            ],
            "enabled_in_config": false,
            "num_threads": 2
          },
          "birdseye": {
            "enabled": true,
            "mode": "objects",
            "order": 0
          },
          "detect": {
            "height": 720,
            "width": 960,
            "fps": 4,
            "enabled": true,
            "min_initialized": 2,
            "max_disappeared": 20,
            "stationary": {
              "interval": 40,
              "threshold": 40,
              "max_frames": {
                "objects": {}
              }
            },
            "annotation_offset": 0
          },
          "ffmpeg": {
            "path": "**REDACTED**",
            "global_args": [
              "-hide_banner",
              "-loglevel",
              "warning",
              "-threads",
              "2"
            ],
            "hwaccel_args": "preset-intel-qsv-h264",
            "input_args": "preset-rtsp-generic",
            "output_args": {
              "detect": [
                "-threads",
                "2",
                "-f",
                "rawvideo",
                "-pix_fmt",
                "yuv420p"
              ],
              "record": "preset-record-generic"
            },
            "retry_interval": 10.0,
            "inputs": [
              {
                "path": "**REDACTED**",
                "roles": [
                  "record",
                  "detect"
                ],
                "global_args": [],
                "hwaccel_args": [],
                "input_args": "preset-rtsp-restream"
              }
            ]
          },
          "genai": {
            "enabled": false,
            "use_snapshot": false,
            "prompt": "Analyze the sequence of images containing the {label}. Focus on the likely intent or behavior of the {label} based on its actions and movement, rather than describing its appearance or the surroundings. Consider what the {label} is doing, why, and what it might do next.",
            "object_prompts": {},
            "objects": [],
            "required_zones": []
          },
          "live": {
            "stream_name": "doorbell_cam",
            "height": 720,
            "quality": 8
          },
          "motion": {
            "enabled": true,
            "threshold": 30,
            "lightning_threshold": 0.8,
            "improve_contrast": true,
            "contour_area": 10,
            "delta_alpha": 0.2,
            "frame_alpha": 0.01,
            "frame_height": 100,
            "mask": [
              "0.46,0.243,0.454,0.575,0.26,0.555,0.258,0.381,0.268,0.235,0.426,0.19",
              "0,0.524,0.201,0.508,0.203,0.374,0.227,0.198,0,0.078",
              "1,0,1,0.039,0.704,0.039,0.704,0"
            ],
            "mqtt_off_delay": 30,
            "enabled_in_config": true,
            "raw_mask": null
          },
          "objects": {
            "track": [
              "person",
              "vehicle",
              "animal"
            ],
            "filters": {
              "person": {
                "min_area": 100,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              },
              "animal": {
                "min_area": 100,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              },
              "vehicle": {
                "min_area": 400,
                "max_area": 24000000,
                "min_ratio": 0.0,
                "max_ratio": 24000000.0,
                "threshold": 0.9,
                "min_score": 0.75
              }
            },
            "mask": ""
          },
          "record": {
            "enabled": true,
            "sync_recordings": false,
            "expire_interval": 60,
            "retain": {
              "days": 3.0,
              "mode": "motion"
            },
            "detections": {
              "pre_capture": 5,
              "post_capture": 5,
              "retain": {
                "days": 30.0,
                "mode": "motion"
              }
            },
            "alerts": {
              "pre_capture": 5,
              "post_capture": 5,
              "retain": {
                "days": 30.0,
                "mode": "motion"
              }
            },
            "export": {
              "timelapse_args": "-vf setpts=0.04*PTS -r 30"
            },
            "preview": {
              "quality": "medium"
            },
            "enabled_in_config": true
          },
          "review": {
            "alerts": {
              "labels": [
                "person",
                "vehicle",
                "animal"
              ],
              "required_zones": [
                "porch"
              ]
            },
            "detections": {
              "required_zones": [
                "porch"
              ]
            }
          },
          "snapshots": {
            "enabled": true,
            "clean_copy": true,
            "timestamp": false,
            "bounding_box": true,
            "crop": true,
            "required_zones": [
              "driveway",
              "yard",
              "sidewalk",
              "house_front",
              "porch"
            ],
            "retain": {
              "default": 90.0,
              "mode": "motion",
              "objects": {}
            },
            "quality": 70
          },
          "timestamp_style": {
            "position": "tl",
            "format": "%m/%d/%Y %H:%M:%S",
            "color": {
              "red": 255,
              "green": 255,
              "blue": 255
            },
            "thickness": 2
          },
          "best_image_timeout": 60,
          "mqtt": {
            "enabled": true,
            "timestamp": true,
            "bounding_box": true,
            "crop": true,
            "height": 270,
            "required_zones": [],
            "quality": 70
          },
          "onvif": {
            "host": "",
            "port": 8000,
            "autotracking": {
              "enabled": false,
              "calibrate_on_startup": false,
              "zooming": "disabled",
              "zoom_factor": 0.3,
              "track": [
                "person"
              ],
              "required_zones": [],
              "return_preset": "home",
              "timeout": 10,
              "movement_weights": [],
              "enabled_in_config": false
            },
            "ignore_time_mismatch": false
          },
          "ui": {
            "order": 0,
            "dashboard": true
          },
          "zones": {
            "porch": {
              "filters": {},
              "coordinates": "0,1,1,1,1,0,0.465,0,0.453,0.578,0.26,0.556,0.187,0.557,0.192,0.714,0,0.806",
              "inertia": 4,
              "loitering_time": 1,
              "objects": [],
              "color": [
                31,
                119,
                180
              ]
            }
          },
          "ffmpeg_cmds": [
            {
              "roles": [
                "record",
                "detect"
              ],
              "cmd": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.15.0-e76f4e9 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/doorbell_cam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/doorbell_cam@%Y%m%d%H%M%S%z.mp4 -r 4 -vf vpp_qsv=framerate=4:w=960:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
            }
          ]
        }
      },
      "audio": {
        "enabled": false,
        "max_not_heard": 30,
        "min_volume": 500,
        "listen": [
          "bark",
          "fire_alarm",
          "scream",
          "speech",
          "yell"
        ],
        "num_threads": 2
      },
      "birdseye": {
        "enabled": true,
        "mode": "objects",
        "restream": false,
        "width": 1280,
        "height": 720,
        "quality": 8,
        "inactivity_threshold": 30,
        "layout": {
          "scaling_factor": 2.0
        }
      },
      "detect": {
        "fps": 5,
        "enabled": true,
        "stationary": {
          "max_frames": {
            "objects": {}
          }
        },
        "annotation_offset": 0
      },
      "ffmpeg": {
        "path": "**REDACTED**",
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning",
          "-threads",
          "2"
        ],
        "hwaccel_args": "preset-vaapi",
        "input_args": "preset-rtsp-generic",
        "output_args": {
          "detect": [
            "-threads",
            "2",
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "preset-record-generic"
        },
        "retry_interval": 10.0
      },
      "genai": {
        "enabled": false,
        "prompt": "Analyze the sequence of images containing the {label}. Focus on the likely intent or behavior of the {label} based on its actions and movement, rather than describing its appearance or the surroundings. Consider what the {label} is doing, why, and what it might do next.",
        "object_prompts": {},
        "model": "gpt-4o",
        "provider": "openai"
      },
      "live": {
        "stream_name": "",
        "height": 720,
        "quality": 8
      },
      "objects": {
        "track": [
          "person"
        ],
        "filters": {
          "usps": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "gls": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "postnl": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "face": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "an_post": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "fedex": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "nzpost": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "amazon": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "ups": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "postnord": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "license_plate": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "purolator": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "dpd": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          },
          "dhl": {
            "min_area": 0,
            "max_area": 24000000,
            "min_ratio": 0.0,
            "max_ratio": 24000000.0,
            "threshold": 0.7,
            "min_score": 0.7,
            "raw_mask": null
          }
        },
        "mask": ""
      },
      "record": {
        "enabled": true,
        "sync_recordings": false,
        "expire_interval": 60,
        "retain": {
          "days": 3.0,
          "mode": "motion"
        },
        "detections": {
          "pre_capture": 5,
          "post_capture": 5,
          "retain": {
            "days": 30.0,
            "mode": "motion"
          }
        },
        "alerts": {
          "pre_capture": 5,
          "post_capture": 5,
          "retain": {
            "days": 30.0,
            "mode": "motion"
          }
        },
        "export": {
          "timelapse_args": "-vf setpts=0.04*PTS -r 30"
        },
        "preview": {
          "quality": "medium"
        }
      },
      "review": {
        "alerts": {
          "labels": [
            "person",
            "car"
          ],
          "required_zones": []
        },
        "detections": {
          "required_zones": []
        }
      },
      "snapshots": {
        "enabled": true,
        "clean_copy": true,
        "timestamp": false,
        "bounding_box": true,
        "crop": true,
        "required_zones": [
          "driveway",
          "yard",
          "sidewalk",
          "house_front",
          "porch"
        ],
        "retain": {
          "default": 90.0,
          "mode": "motion",
          "objects": {}
        },
        "quality": 70
      },
      "timestamp_style": {
        "position": "tl",
        "format": "%m/%d/%Y %H:%M:%S",
        "color": {
          "red": 255,
          "green": 255,
          "blue": 255
        },
        "thickness": 2
      },
      "camera_groups": {},
      "plus": {
        "enabled": false
      }
    },
    "frigate_stats": {
      "cameras": {
        "front_yard_cam": {
          "camera_fps": 4.1,
          "process_fps": 4.1,
          "skipped_fps": 0.0,
          "detection_fps": 0.0,
          "detection_enabled": true,
          "pid": 418,
          "capture_pid": 427,
          "ffmpeg_pid": 437,
          "audio_rms": 0.0,
          "audio_dBFS": 0.0
        },
        "doorbell_cam": {
          "camera_fps": 8.1,
          "process_fps": 8.1,
          "skipped_fps": 0.0,
          "detection_fps": 0.0,
          "detection_enabled": true,
          "pid": 421,
          "capture_pid": 438,
          "ffmpeg_pid": 454,
          "audio_rms": 0.0,
          "audio_dBFS": 0.0
        }
      },
      "detectors": {
        "open_vino_1": {
          "inference_speed": 68.55,
          "detection_start": 0.0,
          "pid": 383
        },
        "open_vino_2": {
          "inference_speed": 66.97,
          "detection_start": 0.0,
          "pid": 385
        }
      },
      "detection_fps": 0.0,
      "gpu_usages": {
        "intel-qsv": {
          "gpu": "3.14%",
          "mem": "-%",
          "clients": {
            "437": "21.62%",
            "454": "12.65%"
          }
        }
      },
      "cpu_usages": {
        "frigate.full_system": {
          "cpu": "10.7",
          "mem": "82.1"
        },
        "1": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service"
        },
        "15": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise s6-linux-init-shutdownd"
        },
        "16": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B"
        },
        "24": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise s6rc-fdholder"
        },
        "25": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise go2rtc-healthcheck"
        },
        "26": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise frigate-log"
        },
        "27": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise go2rtc-log"
        },
        "28": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise nginx"
        },
        "29": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise certsync"
        },
        "30": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise s6rc-oneshot-runner"
        },
        "31": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise frigate"
        },
        "32": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise certsync-log"
        },
        "33": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise nginx-log"
        },
        "34": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-supervise go2rtc"
        },
        "44": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules"
        },
        "46": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "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 ../.. --"
        },
        "87": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"
        },
        "88": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"
        },
        "89": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"
        },
        "90": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"
        },
        "103": {
          "cpu": "2.4",
          "cpu_average": "2",
          "mem": "0.3",
          "cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"
        },
        "123": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "bash ./run.user go2rtc-healthcheck"
        },
        "124": {
          "cpu": "1.4",
          "cpu_average": "1",
          "mem": "5.8",
          "cmdline": "python3 -u -m frigate"
        },
        "130": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "nginx: master process nginx"
        },
        "153": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.3",
          "cmdline": "nginx: worker process"
        },
        "154": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.1",
          "cmdline": "nginx: worker process"
        },
        "155": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.1",
          "cmdline": "nginx: worker process"
        },
        "188": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.1",
          "cmdline": "nginx: worker process"
        },
        "189": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "nginx: cache manager process"
        },
        "297": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "bash ./run.user certsync"
        },
        "367": {
          "cpu": "5.1",
          "cpu_average": "3",
          "mem": "0.7",
          "cmdline": "frigate.recording_manager"
        },
        "369": {
          "cpu": "0.2",
          "cpu_average": "0",
          "mem": "0.2",
          "cmdline": "frigate.review_segment_manager"
        },
        "383": {
          "cpu": "0.0",
          "cpu_average": "7",
          "mem": "1.2",
          "cmdline": "frigate.detector.open_vino_1"
        },
        "385": {
          "cpu": "0.0",
          "cpu_average": "7",
          "mem": "1.2",
          "cmdline": "frigate.detector.open_vino_2"
        },
        "401": {
          "cpu": "0.5",
          "cpu_average": "0",
          "mem": "0.5",
          "cmdline": "frigate.output       "
        },
        "418": {
          "cpu": "0.8",
          "cpu_average": "0",
          "mem": "0.8",
          "cmdline": "frigate.process:front_yard_cam"
        },
        "421": {
          "cpu": "1.2",
          "cpu_average": "1",
          "mem": "0.5",
          "cmdline": "frigate.process:doorbell_cam"
        },
        "427": {
          "cpu": "0.9",
          "cpu_average": "0",
          "mem": "0.3",
          "cmdline": "frigate.capture:front_yard_cam"
        },
        "437": {
          "cpu": "3.8",
          "cpu_average": "3",
          "mem": "0.4",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -load_plugin hevc_hw -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v hevc_qsv -user_agent FFmpeg Frigate/0.15.0-e76f4e9 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/front_yard_cam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/front_yard_cam@%Y%m%d%H%M%S%z.mp4 -r 4 -vf vpp_qsv=framerate=4:w=1920:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
        },
        "438": {
          "cpu": "1.1",
          "cpu_average": "0",
          "mem": "0.2",
          "cmdline": "frigate.capture:doorbell_cam"
        },
        "453": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.5",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1920x720 -i pipe: -threads 1 -f mpegts -s 1920x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
        },
        "454": {
          "cpu": "3.9",
          "cpu_average": "3",
          "mem": "0.4",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.15.0-e76f4e9 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/doorbell_cam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/doorbell_cam@%Y%m%d%H%M%S%z.mp4 -r 4 -vf vpp_qsv=framerate=4:w=960:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
        },
        "465": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 960x720 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
        },
        "480": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/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:"
        },
        "489": {
          "cpu": "2.9",
          "cpu_average": "2",
          "mem": "0.1",
          "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -v error -allowed_media_types video+audio -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://*:*@**REDACTED**:554/h265Preview_01_main -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/eb14c3fe62d59c03af01cd9d97442de3"
        },
        "11241": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "sleep 60"
        },
        "11314": {
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
          "cmdline": "sleep 30s"
        }
      },
      "service": {
        "uptime": 5336,
        "version": "0.15.0-e76f4e9",
        "latest_version": "0.14.1",
        "storage": {
          "/media/frigate/recordings": {
            "total": 3754389.0,
            "used": 2153184.1,
            "free": 1601204.9,
            "mount_type": "cifs"
          },
          "/media/frigate/clips": {
            "total": 3754389.0,
            "used": 2153184.1,
            "free": 1601204.9,
            "mount_type": "cifs"
          },
          "/tmp/cache": {
            "total": 476.8,
            "used": 18.3,
            "free": 458.6,
            "mount_type": "tmpfs"
          },
          "/dev/shm": {
            "total": 256.0,
            "used": 179.9,
            "free": 76.1,
            "mount_type": "tmpfs"
          }
        },
        "temperatures": {},
        "last_updated": 1733003775
      },
      "processes": {
        "recording": {
          "pid": 367
        },
        "review_segment": {
          "pid": 369
        },
        "go2rtc": {
          "pid": 103
        }
      }
    }
  }
}

@mateuszdrab
Copy link

I don't mean to hijack, but what does this option even do?
It's not documented anywhere (or I'm not looking at the right place).

@NickM-27
Copy link
Collaborator

it uses Frigate's internal go2rtc for exporting the webrtc stream vs using Frigate's internal go2rtc RTSP stream and then having HomeAssistant use its internal go2rtc to remux that to webrtc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants