AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.36k stars 162 forks source link

Full size not working. Breaks the camera stream. #645

Open StephaneAdeso opened 5 months ago

StephaneAdeso commented 5 months ago

Software version and hardware:

WebRTC Camera version: 3.5.1 HASS version: 2024.1.5 runing on a raspberry pi 4 8gb

Context:

I have a fresh install of Home Assistant. I installed WebRTC Camera yesterday. Everything works fine, but as soon as you maximize the window of a camera, the stream stop working. It also happens on the Android app when you turn your phone on landscape mode to have the full screen view.

When i open the browser on my computer and press maximize, the error that apear in the devtools is: image

How i installed WebRTC:

The way i installed Webrtc is the following:

  1. I installed WebRtc from the HACs store.
  2. I added the webRTC card directly in my dashboard using the rtc url.

Aditional info:

I have no Frigate or specific go2rtc installation. i just installed WebRtc. Thats all. My Camera is a Dahua. This is a screen shot on how i did it: image

StephaneAdeso commented 5 months ago

I tried configuring the camera with the generic camera integration. It seems to works fine in the pc web browser, but in the android app, it still breaks when you maximize and turn the phone on landscape mode.

patrikjohansson87 commented 4 months ago

I have the same problem in IOS app

koenvo27 commented 4 months ago

Any update on this @AlexxIT please? In the webbrowser on my W11 pc it works fine but in ios I can't open the streams in fullscreen mode..

jsamr commented 1 month ago

Same outcome for me; the stream stops after 3 seconds.

type: custom:webrtc-camera
url: garage

NB: I'm using go2rtc instance from my Frigate server; attempting to watch stream in local network.