Card or Stream freezes all the time on tablet. Works again after reloading.
Hi,
I am using WebRTC Camera 3.6.1 on an Android Tablet that shows a HA dashboard using fully kiosk.
The tablet shows the same dashboard all the time and the display is switched on and off often by HA triggered by motion sensor (on) and timeout (off).
One thing on the dashboard is a WebRTC Camera card that shows a go2rtc stream.
This is the Card configuration:
type: custom:webrtc-camera
url: cam1
ui: false
media: video
muted: true
intersection: 0.75
background: false
mode: webrtc,mse,mp4,mjpeg
view_layout:
position: main
The card keeps freezing like at least once a day. When I notice it being frozen I still can watch the stream on my phone or PC so it's not the stream provider. Also when I switch to another dashboard page with the exact same Card and Configuration it shows the working stream. When I reload the dashboard in fully kiosk it will also work again and show the live stream.
Is there anything I can to to have it work reliably?
Thanks in advance
This also happens on the latest release for me 1.9.10 but downgrading to 1.9.9 resolves the problem.
There must be a regression somewhere.
The most important information is missing: what streaming technology the card is displayed with. This information is displayed in the upper right corner of the card.
This also happens on the latest release for me 1.9.10 but downgrading to 1.9.9 resolves the problem.
There must be a regression somewhere.
I've had this like forever, only now I reported this. I made the dashboard in January 2024 and I've always been to the latest version of WebRTC Card since then.
The most important information is missing: what streaming technology the card is displayed with. This information is displayed in the upper right corner of the card.
Oh soryy, it says "RTC".
This is interesting. WebRTC freezes very rarely. Especially if it all started in early 2024.
As I understand it, the connection to Android is local?
What about other devices in the house? Are they working properly? Do they also have RTC technology?
This is interesting. WebRTC freezes very rarely. Especially if it all started in early 2024.
As I understand it, the connection to Android is local?
What about other devices in the house? Are they working properly? Do they also have RTC technology?
The Android Tablet (Galaxy Tab S6 lite) is connected via Wi-Fi 5. It has stock Samsung Android and runs Fully kiosk browser 24/7 to show a Home Assistant Dashboard. It's in the hallway and a motion sensor triggers the turn display on/off function of kiosk browser.
I have two TP-Link cameras, a C100 and a C200. The cameras, the tablet and Home Assistant are all in my LAN. HA has go2rtc running where the Camera's rtsp streams are configured. There is also a standalone instance of Frigate running which also connects to the camera's rtsp directly.
There seems not to be a problem with the camera's streams as they will still work on frigate, my phone or if I swipe the dashboard to another page that has the exactly identically configured web rtc card, but it will work.
I feel like it probably has something to do with caching or something like that? Maybe with turning the tablets screen on and off so often? Somehow it only breaks the web rtc card on the dashboards start page. If I reload the dashboard in fully kiosk it will work again...
The problem may be related to the Android that comes with your tablet. This OS has a specific version of WebView, part of which is responsible for WebRTC.
I have a similar issue from 1.9.10 upward with a canon eos 650d. Happens in all browsers and ios and android. the camera is busy and blocked when switching from live view to preview because the stream through go2rtc is not stopping. switching back to 1.9.9 solves the issue. https://github.com/PhotoboothProject/photobooth/issues/942#issuecomment-3582651349
The problem may be related to the Android that comes with your tablet. This OS has a specific version of WebView, part of which is responsible for WebRTC.
@AlexxIT im on iOS and windows browsers and it works with old versions