Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video stream for Generic Camera integration crashes once loaded #22821

Open
4 tasks done
agoose77 opened this issue Nov 14, 2024 · 0 comments
Open
4 tasks done

Video stream for Generic Camera integration crashes once loaded #22821

agoose77 opened this issue Nov 14, 2024 · 0 comments

Comments

@agoose77
Copy link

agoose77 commented Nov 14, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

I recently moved from some old version of ghcr.io/home-assistant/home-assistant:stable to 2024.11.0, and found that my Generic Camera streams no longer live update.

The static picture that is generated from the stream is correct, and updates at intervals; I can see in the browser tools that the static image endpoint is successfully being polled in support of that.

I was able to open the playlist file in VLC and view footage, so I assume that the m3u8, mp4, and m4s segments are valid. As such, I think this is a frontend error.

Describe the behavior you expected

The live camera streams are viewable

Steps to reproduce the issue

  1. Click entity in entity viewer, or media viewer
  2. See stream flicker in and out
    ...

What version of Home Assistant Core has the issue?

2024.11.1 (and 2024.11.0)

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Firefox 131.0.2

Which operating system are you using to run this browser?

NixOS (unstable)

State of relevant entities

access_token: XXXXX-REDACTED-XXXX
frontend_stream_type: hls
entity_picture: >-
  /api/camera_proxy/camera.back_passage?token=XXXXX-REDACTED-XXXX
friendly_name: Back passage
supported_features: 2

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

Requests in browser tools:

XHRGET
http://home-assistant.local/api/hls/027b5b4672a1ff72bc633698b17fb924e73475b1d5d06b0a1f15c41cffac2152/master_playlist.m3u8
[HTTP/1.1 200 OK 4ms]

GET
http://home-assistant.local/api/camera_proxy/camera.back_passage?authSig=XXX-REDACTED-XXX&width=580&height=0
[HTTP/1.1 200 OK 25ms]

GET
http://home-assistant.local/media-browser/browser/undefined
NS_BINDING_ABORTED

XHRGET
http://home-assistant.local/api/hls/027b5b4672a1ff72bc633698b17fb924e73475b1d5d06b0a1f15c41cffac2152/playlist.m3u8
[HTTP/1.1 200 OK 1ms]

XHRGET
http://home-assistant.local/api/hls/027b5b4672a1ff72bc633698b17fb924e73475b1d5d06b0a1f15c41cffac2152/playlist.m3u8
[HTTP/1.1 200 OK 2ms]

XHRGET
http://home-assistant.local/api/hls/027b5b4672a1ff72bc633698b17fb924e73475b1d5d06b0a1f15c41cffac2152/init.mp4
[HTTP/1.1 200 OK 1ms]

XHRGET
http://home-assistant.local/api/hls/027b5b4672a1ff72bc633698b17fb924e73475b1d5d06b0a1f15c41cffac2152/segment/30.5.m4s
[HTTP/1.1 200 OK 2ms]

GET
http://home-assistant.local/api/camera_proxy_stream/camera.back_passage?token=b996325c399f62ef387460f8dd4fbcc2264193e7698295fe61f6afe2c1e85c85
[HTTP/1.1 200 OK 3ms]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant