GithubHelp home page GithubHelp logo

Comments (14)

AlexxIT avatar AlexxIT commented on May 12, 2024

Try to clear cache and check for errors in browser JS console

from webrtc.

weitheng avatar weitheng commented on May 12, 2024

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.

AlexxIT avatar AlexxIT commented on May 12, 2024

This is not about component. Because it doesn't do any requests.

from webrtc.

AlexxIT avatar AlexxIT commented on May 12, 2024

I think this is browser cache problem.

from webrtc.

weitheng avatar weitheng commented on May 12, 2024

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.

AlexxIT avatar AlexxIT commented on May 12, 2024

You can use camera entity instead of url in latest version. For example, if the camera is configured as Generic.

from webrtc.

weitheng avatar weitheng commented on May 12, 2024

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.

AlexxIT avatar AlexxIT commented on May 12, 2024

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.

weitheng avatar weitheng commented on May 12, 2024

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.

weitheng avatar weitheng commented on May 12, 2024

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.

AlexxIT avatar AlexxIT commented on May 12, 2024

I have tested on Safari Version 14.0 (15610.1.28.1.9, 15610).
What version do you have?

from webrtc.

weitheng avatar weitheng commented on May 12, 2024

I am using Version 14.0.3

from webrtc.

weitheng avatar weitheng commented on May 12, 2024

Somehow the streams are working again now, I will continue to monitor the issue. Thanks!

from webrtc.

AlexxIT avatar AlexxIT commented on May 12, 2024

Reopen if there's a problem

from webrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.