Compare commits

...
2 Commits
Author SHA1 Message Date
Nicolas Mowen 3fb9abc97d Add review thumbnail URL to integration docs 2025-12-22 10:53:25 -07:00
Josh Hawkins fb0838558f use fallback timeout for opening media source
covers the case where there is no active connection to the go2rtc stream and the camera takes a long time to start
2025-12-21 22:09:21 -06:00
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -245,6 +245,12 @@ To load a preview gif of a review item:
https://HA_URL/api/frigate/notifications/<review-id>/review_preview.gif
```
To load the thumbnail of a review item:
```
https://HA_URL/api/frigate/notifications/<review-id>/<camera>/review_thumbnail.webp
```
<a name="streams"></a>
## RTSP stream
+2 -2
View File
@@ -260,7 +260,7 @@ function MSEPlayer({
// @ts-expect-error for typing
value: codecs(MediaSource.isTypeSupported),
},
3000,
(fallbackTimeout ?? 3) * 1000,
).catch(() => {
if (wsRef.current) {
onDisconnect();
@@ -290,7 +290,7 @@ function MSEPlayer({
type: "mse",
value: codecs(MediaSource.isTypeSupported),
},
3000,
(fallbackTimeout ?? 3) * 1000,
).catch(() => {
if (wsRef.current) {
onDisconnect();