Skip to content

Constant Buffering / Freezing in Home Assistant - Fine in go2rtc #901

@rofocalus

Description

@rofocalus
  • Check Integration errors in Hass logs (Configuration > Logs), maybe answer there
Logger: frontend.js.modern.202511050
Source: components/system_log/__init__.py:331
First occurred: 12:18:54 PM (17 occurrences)
Last logged: 12:19:11 PM

    Uncaught error from Firefox 144.0 on Linux Error: Failed to execute 'define' on 'CustomElementRegistry': the name "focus-trap" has already been used with this registry 68965/</A.prototype.define (node_modules/@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.ts:180:12) xe/a.define (/hacsfiles/tabbed-card/tabbed-card.js:63:109) /hacsfiles/advanced-camera-card/card-04eb008a.js:75:3686
    Uncaught error from Firefox 144.0 on Linux RangeError: source array is too long onmse/this.onmessage.mse/this.ondata (/webrtc/video-rtc.js:475:25) onopen/< (/webrtc/video-rtc.js:344:22)

Title. Stream goes grey every second and comes back randomly or sometimes not at all until page refresh. Using Firefox / Zen browser on Arch Linux. Get this fault in browser console:

Uncaught RangeError: source array is too long
    ondata https://homeassistant/webrtc/video-rtc.js?v=1.9.9:475
    onopen https://homeassistant/webrtc/video-rtc.js?v=1.9.9:344
23 [video-rtc.js:475:25](https://homeassistant/webrtc/video-rtc.js?v=1.9.9)
    ondata https://homeassistant/webrtc/video-rtc.js?v=1.9.9:475
    onopen https://homeassistant/webrtc/video-rtc.js?v=1.9.9:344

Happens across any browser (tried Firefox, Zen, Chrome, Brave). Happens with any device too (different computers running Linux, Pixel 8 with Home Assistant app). With any browser on any device, can access go2rtc and view stream side by side and it will go out on Home Assistant and be fine on the stream viewer on go2rtc. Not sure what else to check atp.

go2rtc comes from Frigate docker container, Home Assistant is also docker container on same device

Home Assistant cards are basic config, as follows:

type: custom:webrtc-camera
url: frontyard

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions