From a08e95685d14357b285f0e0b25b410fc500eaabc Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 30 Nov 2026 10:33:49 -0800 Subject: [PATCH] Update go2rtc to 1.10.0 (#25129) --- docker/main/install_go2rtc.sh | 17 ++++++++++------- docker/main/rootfs/usr/local/bin/fix-ownership | 2 +- docs/docs/configuration/advanced/reference.md | 2 +- docs/docs/configuration/advanced/system.md | 2 +- docs/docs/configuration/camera_specific.md | 2 +- docs/docs/configuration/go2rtc.md | 2 +- docs/docs/configuration/live.md | 2 +- docs/docs/configuration/restream.md | 4 ++-- docs/docs/troubleshooting/go2rtc.md | 2 +- docs/sidebars.ts | 2 +- 10 files changed, 20 insertions(+), 17 deletions(-) diff --git a/docker/main/install_go2rtc.sh b/docker/main/install_go2rtc.sh index 0912d43f0a..92615a105c 100755 --- a/docker/main/install_go2rtc.sh +++ b/docker/main/install_go2rtc.sh @@ -2,18 +2,21 @@ set -euxo pipefail -go2rtc_version="1.9.14" +go2rtc_version="1.10.0" -# sha256 digests of the release binaries; update when bumping go2rtc_version. +# sha256 digests of the release archives; update when bumping go2rtc_version. declare -A go2rtc_checksums=( - ["amd64"]="32d616af226bd731678ffde328b94cfb94e30339bfefc469cfb76323144615a6" - ["arm64"]="359fabade8a7a51e81a55fe6df6b0ef81764a5e1d63179577534eaaa71904b50" + ["amd64"]="345d02a82ccd36028d98ef821cdc50cedabe919710c0d7506a86ed0e397d179b" + ["arm64"]="8951fda217fd637969b9936c8fc49ab2392e87fea6979b2ee99b755a70a8399d" ) dest_dir="/rootfs/usr/local/go2rtc/bin" +tarball="/tmp/go2rtc_linux_${TARGETARCH}.tar.gz" mkdir -p "${dest_dir}" -wget -qO "${dest_dir}/go2rtc" \ - "https://github.com/AlexxIT/go2rtc/releases/download/v${go2rtc_version}/go2rtc_linux_${TARGETARCH}" -echo "${go2rtc_checksums[${TARGETARCH}]} ${dest_dir}/go2rtc" | sha256sum -c - +wget -qO "${tarball}" \ + "https://github.com/AlexxIT/go2rtc/releases/download/v${go2rtc_version}/go2rtc_linux_${TARGETARCH}.tar.gz" +echo "${go2rtc_checksums[${TARGETARCH}]} ${tarball}" | sha256sum -c - +tar -xzOf "${tarball}" "go2rtc_linux_${TARGETARCH}" > "${dest_dir}/go2rtc" +rm -f "${tarball}" chmod 755 "${dest_dir}/go2rtc" diff --git a/docker/main/rootfs/usr/local/bin/fix-ownership b/docker/main/rootfs/usr/local/bin/fix-ownership index 787779a1ba..3c76ea471a 100755 --- a/docker/main/rootfs/usr/local/bin/fix-ownership +++ b/docker/main/rootfs/usr/local/bin/fix-ownership @@ -189,7 +189,7 @@ done # go2rtc (separate user) must be able to REACH its HomeKit state in /config. # Write access is per-file, not per-directory: go2rtc's PatchConfig rewrites # the first -config file via os.WriteFile (in-place truncate, no rename, -# verified against go2rtc v1.9.14 internal/app/config.go), and the file is +# verified against go2rtc v1.10.0 internal/app/config.go), and the file is # always pre-created by setup_homekit_config before go2rtc starts, so # O_CREATE never needs directory write. See header comment for why g+w is # forbidden here. diff --git a/docs/docs/configuration/advanced/reference.md b/docs/docs/configuration/advanced/reference.md index 9b642c3261..497593c1e5 100644 --- a/docs/docs/configuration/advanced/reference.md +++ b/docs/docs/configuration/advanced/reference.md @@ -895,7 +895,7 @@ classification: interval: None # Optional: Restream configuration -# Uses https://github.com/AlexxIT/go2rtc (v1.9.14) +# Uses https://github.com/AlexxIT/go2rtc (v1.10.0) # NOTE: The default go2rtc API port (1984) must be used, # changing this port for the integrated go2rtc instance is not supported. go2rtc: diff --git a/docs/docs/configuration/advanced/system.md b/docs/docs/configuration/advanced/system.md index ed78f3b510..0ed444c244 100644 --- a/docs/docs/configuration/advanced/system.md +++ b/docs/docs/configuration/advanced/system.md @@ -413,7 +413,7 @@ There is one exception, and it only affects [`FRIGATE_ROOT_SERVICES`](/configura ### Custom go2rtc version -Frigate currently includes go2rtc v1.9.14, there may be certain cases where you want to run a different version of go2rtc. +Frigate currently includes go2rtc v1.10.0, there may be certain cases where you want to run a different version of go2rtc. To do this: diff --git a/docs/docs/configuration/camera_specific.md b/docs/docs/configuration/camera_specific.md index 7bc9b0b9c3..0eba8e448d 100644 --- a/docs/docs/configuration/camera_specific.md +++ b/docs/docs/configuration/camera_specific.md @@ -264,7 +264,7 @@ go2rtc: - rtspx://192.168.1.1:7441/abcdefghijk ``` -[See the go2rtc docs for more information](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#source-rtsp) +[See the go2rtc docs for more information](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#source-rtsp) In the Unifi 2.0 update Unifi Protect Cameras had a change in audio sample rate which causes issues for ffmpeg. The input rate needs to be set for record if used directly with unifi protect. diff --git a/docs/docs/configuration/go2rtc.md b/docs/docs/configuration/go2rtc.md index 3672fdf575..54c84ca3c6 100644 --- a/docs/docs/configuration/go2rtc.md +++ b/docs/docs/configuration/go2rtc.md @@ -25,7 +25,7 @@ This guide is mainly useful if you are **upgrading from an older version and hav If you added your cameras with the wizard, go2rtc is already configured. You can skip straight to [troubleshooting](/troubleshooting/go2rtc). The steps below are for upgrading users with existing cameras that aren't using go2rtc yet, or for anyone who prefers to configure a stream by hand. -Configure go2rtc to connect to your camera by adding the stream you want to use for live view. Avoid changing any other parts of your config at this step. Note that go2rtc supports [many different stream types](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#module-streams), not just rtsp. +Configure go2rtc to connect to your camera by adding the stream you want to use for live view. Avoid changing any other parts of your config at this step. Note that go2rtc supports [many different stream types](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#module-streams), not just rtsp. :::tip diff --git a/docs/docs/configuration/live.md b/docs/docs/configuration/live.md index 074e5a81f0..a1430abde3 100644 --- a/docs/docs/configuration/live.md +++ b/docs/docs/configuration/live.md @@ -245,7 +245,7 @@ services: ::: -See [go2rtc WebRTC docs](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#module-webrtc) for more information about this. +See [go2rtc WebRTC docs](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#module-webrtc) for more information about this. ### Two way talk diff --git a/docs/docs/configuration/restream.md b/docs/docs/configuration/restream.md index e8aa3ffaea..05631d5dbc 100644 --- a/docs/docs/configuration/restream.md +++ b/docs/docs/configuration/restream.md @@ -11,7 +11,7 @@ import NavPath from "@site/src/components/NavPath"; Frigate can restream your video feed as an RTSP feed for other applications such as Home Assistant to utilize it at `rtsp://:8554/`. Port 8554 must be open. [This allows you to use a video feed for detection in Frigate and Home Assistant live view at the same time without having to make two separate connections to the camera](#reduce-connections-to-camera). The video feed is copied from the original video feed directly to avoid re-encoding. This feed does not include any annotation by Frigate. -Frigate uses [go2rtc](https://github.com/AlexxIT/go2rtc/tree/v1.9.14) to provide its restream and MSE/WebRTC capabilities. The go2rtc config is hosted at the `go2rtc` in the config, see [go2rtc docs](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#configuration) for more advanced configurations and features. +Frigate uses [go2rtc](https://github.com/AlexxIT/go2rtc/tree/v1.10.0) to provide its restream and MSE/WebRTC capabilities. The go2rtc config is hosted at the `go2rtc` in the config, see [go2rtc docs](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#configuration) for more advanced configurations and features. :::note @@ -240,7 +240,7 @@ Enabling arbitrary exec sources allows execution of arbitrary commands through g ## Advanced Restream Configurations -The [exec](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#source-exec) source in go2rtc can be used for custom ffmpeg commands and other applications. An example is below: +The [exec](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#source-exec) source in go2rtc can be used for custom ffmpeg commands and other applications. An example is below: :::warning diff --git a/docs/docs/troubleshooting/go2rtc.md b/docs/docs/troubleshooting/go2rtc.md index 2ee8bd756e..4821ca2a09 100644 --- a/docs/docs/troubleshooting/go2rtc.md +++ b/docs/docs/troubleshooting/go2rtc.md @@ -222,7 +222,7 @@ go2rtc: `/dev/dri/renderD128` is the usual render node; on a system with more than one GPU you may need `renderD129` (or higher), and the device must be passed into the container (e.g. `devices: - /dev/dri:/dev/dri` in Docker Compose). -If you use a **different hardware acceleration backend**, you will likely need to specify its device in the same way, using the option that matches that backend instead of `-vaapi_device`. See the [go2rtc FFmpeg source documentation](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#source-ffmpeg) and the upstream report ([go2rtc issue #1984](https://github.com/AlexxIT/go2rtc/issues/1984)) for background and other examples. +If you use a **different hardware acceleration backend**, you will likely need to specify its device in the same way, using the option that matches that backend instead of `-vaapi_device`. See the [go2rtc FFmpeg source documentation](https://github.com/AlexxIT/go2rtc/tree/v1.10.0#source-ffmpeg) and the upstream report ([go2rtc issue #1984](https://github.com/AlexxIT/go2rtc/issues/1984)) for background and other examples. :::tip diff --git a/docs/sidebars.ts b/docs/sidebars.ts index d945539259..e8e0db42af 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -135,7 +135,7 @@ const sidebars: SidebarsConfig = { { type: "link", label: "Go2RTC Configuration Reference", - href: "https://github.com/AlexxIT/go2rtc/tree/v1.9.14#configuration", + href: "https://github.com/AlexxIT/go2rtc/tree/v1.10.0#configuration", } as PropSidebarItemLink, ], },