I noticed that when using my cell phone (iOS) on my local network using the Home Assistant app, my camera streams work as expected. If I move to my cell service (T-Mobile Prepaid), I don’t get live video but I can refresh my Lovelace front panel containing the camera streams and get updated thumbnails of my streams each time I refresh. If I move my cellphone to another external network type (e.g., public WiFi), the streams work as if I was on my internal network. I have tried several public STUN servers with the same result.
No I am with Virgin i get the same too my thumbnails update on refresh but that is expected as that is just a standard http call, where as the stream is rtsp which takes a different path, the thing is i can see the request is going to the camera direct, however i have blocked my cameras from external access, i would have though that the rtsp stream should traverse through HA rather than direct to camera, but i will let the smart people comment on that
Is anyone using this addon having problems playing cameras on mobile? (android app). The video loads after about 30 seconds. Everything works fine on PC.
I note there are a few people on this thread unable to play cameras on mobile (including myself on ios). My setup is quite simple using RTSPtoWebRTC which works great on LAN. Having added the STUN server to the integration with Google (even tried Mozilla), I am using Tailscale on 4G connection to run HA app which shows the thumbnails but no real time stream.
I also navigated using Google chrome on my mobile (via 4G and Tailscale) to HA instance, while everything loads well, the cameras do not play in real time.
RTSPtoWeb works with stun in many setups. Haven’t tried RTSPtoWebRTC. But yeah these services don’t have lots of support. go2rtc is another option that seems more well supported by the server author.
@allenporter firstly thanks for this addon!
Have you seen RTSPtoWeb working remotely? Will give it a try today to see if it makes a difference otherwise will attempt go2rtc
@allenporter Just a note, RTSPtoWeb doesnt work either when accessing remotely. go2rtc appears to work but needs to be refreshed manually each time while taking >20sec to display real time feed but lags behind actual time. One camera of the two cameras doesnt load which am troubleshooting with different settings.
OK, i’ve documented what i’ve gotten working on my network setup above in the initial post. It may not work in all network setups however, since breaking nat is tricky.
@allenporter After removing the STUN server, everything works perfectly on both PC and mobile devices. As soon as I configure the stun server, the image loads only after about 20-30 seconds on mobile devices. Is there any solution for this?
I have also the same problem as user @majdzik84
I use card type: picture-glance
When open in app dashboard when i have this cards with view from cameras all is ok and view is live. But when try open one card to full by click on it view is open full but image from camera is freez and a circle is spinning on the screen.
On web browser on PC is ok and full view works ok and i see live view
I am currently using the RTSPtoWeb - WebRTC add-on and the RTSPtoWebRTC integration. I still have issues with my video only showing a single still when I am remote viewing on cell signal (T-Mobile), but I live with it. I tried the go2rtc add-on which fixed the issue I was having with viewing cameras remotely, but the local network performance was not great (e.g., delays, freezing). Since most of my camera viewing is when I am on my local network I didn’t want to live with the poorer local performance of go2rtc.
Hi,
thanks for the answer and the hint.
I messed something up, I’ve now tried your version with the “RTSPtoWebRTC” add-on. The streams from my Eufy cameras via rtsp run immediately and without a large time delay.
But I still have the problem that I have no sound with all Eufy cameras that are integrated via RTSP. Or is that just not possible with RTSP?