Comments (14)
Try to clear cache and check for errors in browser JS console
from webrtc.
Cleared cache and tried on incognito, both didn't work. Went onto JS console, got this message Blocked *URL* from asking for credentials because it is a cross-origin request.
Looks like url has been blocked by Safari
from webrtc.
This is not about component. Because it doesn't do any requests.
from webrtc.
I think this is browser cache problem.
from webrtc.
This is not about component. Because it doesn't do any requests.
Could the request be from my RTSP stream? Because the RTSP url contains the username and password to access the stream.
I have tried clearing the cache and gone onto incognito mode again, but with no luck. :(
I also tried disabling the Cross-Origin Restrictions on Safari, but I am immediately redirected to the IP address of the camera upon refreshing the page, prompting me to enter the username and password (even though they are already included in the RTSP url, and works fine on my other devices). But after entering the correct credentials, I am redirected back to my HA domain, with the following message [Error] Failed to load resource: The network connection was lost.
on the JS console.
from webrtc.
You can use camera entity instead of url in latest version. For example, if the camera is configured as Generic.
from webrtc.
You can use camera entity instead of url in latest version. For example, if the camera is configured as Generic.
Tried that, still getting the same error on JS console. :(
Really unsure what's causing the issue, I kept refreshing the page and sometimes I managed to get it working temporarily, but another refresh will bring it down again.
I managed to have a try on my other MacBook, and it works flawlessly on Safari. You could be right that it's the browser problem specifically the cache or website date. But I did clear both of them.
from webrtc.
This error not from component. You can remove card from page and check.
I hope you didn't set up the card poster?
from webrtc.
This error not from component. You can remove card from page and check.
I hope you didn't set up the card poster?
Nope, no card poster. I created a new page and try adding the entity one by one, it seems that it works fine when there's only 1 or 2 WebRTC entities on the page. Once there's more than 2, it struggles to initialise connection.
from webrtc.
I will keep on trying to see what's the issue, it should be a problem with my browser. Thanks for your help!
from webrtc.
I have tested on Safari Version 14.0 (15610.1.28.1.9, 15610).
What version do you have?
from webrtc.
I am using Version 14.0.3
from webrtc.
Somehow the streams are working again now, I will continue to monitor the issue. Thanks!
from webrtc.
Reopen if there's a problem
from webrtc.
Related Issues (20)
- Refreshing the poster on a specified interval
- poster with access_token url HOT 2
- WebRTC DashCast not working with HA 2024.3.0 and Chromecast/pycast HOT 6
- hide volume icon ? HOT 5
- Camera Cast Problem HOT 3
- Stream to camera. The problem is that the broadcast has stopped. HOT 2
- Intermittent sound and voice on two-way audio RTSP, ISAPI, Hikvision DS-KV6113, GO2RTC, WEBRTC, WEBRTC-CAMERA, media_player: - platform: webrtc HOT 1
- Possible to include nav options like the Picture Glance card? HOT 1
- [Feature] Custom Card mode property connection order HOT 7
- PTZ movements and zoom sensitivity adjustment HOT 1
- Stopped working after update to Unifi Protect 3.x.x HOT 3
- Screen is always on - WebRTC + Wallpanel HOT 1
- Double touch tap zoom/fullscreen HOT 2
- go2rtc working fine, but no video in HA due to "Uncaught error from Chrome" / "this.ondata is not a function" errors HOT 3
- Custom element doesn't exist for streaming to Chromecast HOT 8
- Feature: Jinja2 template in poster field HOT 2
- HA Core 2024.4.0 - WebRTC-Camera lovelace card can't play video from externally (works normally within same wifi) HOT 2
- [Feature Request] Two-way push to talk with secondary stream HOT 4
- Removed from HACS but still loads in browser? HOT 1
- Image in webrtc card is cropped HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc.