From 0b7917ef7046c4c8c83cc1cf1c20f0adf70fc34b Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 8 Feb 2026 16:39:15 +0000 Subject: [PATCH] fix: Increase go2rtc metadata fetch timeout (#2336) - Related: #2313 --- src/camera-manager/utils/go2rtc/audio.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/camera-manager/utils/go2rtc/audio.ts b/src/camera-manager/utils/go2rtc/audio.ts index f2e93149..7c45ca66 100644 --- a/src/camera-manager/utils/go2rtc/audio.ts +++ b/src/camera-manager/utils/go2rtc/audio.ts @@ -6,7 +6,10 @@ import { errorToConsole } from '../../../utils/basic'; import { CameraProxyConfig } from '../../types'; import { Go2RTCStreamInfo, go2RTCStreamInfoSchema } from './types'; -const GO2RTC_METADATA_TIMEOUT_SECONDS = 2; +// Allow generous amount of time to fetch metadata (timeout matches that used in +// the Frigate frontend for the same call). +// See: https://github.com/dermotduffy/advanced-camera-card/issues/2313 +const GO2RTC_METADATA_TIMEOUT_SECONDS = 10; const getGo2RTCStreamMetadata = async ( hass: HomeAssistant,