fix: Increase go2rtc metadata fetch timeout (#2336)

- Related: #2313
This commit is contained in:
Dermot Duffy
2026-02-08 08:39:15 -08:00
committed by GitHub
parent 49073fee48
commit 0b7917ef70
+4 -1
View File
@@ -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,