Coder Social home page Coder Social logo

On some of my machines I got the error "Error creating offer: SyntaxError: Failed to construct 'RTCPeerConnection': '' is not a valid URL." about samples HOT 8 CLOSED

qiulang avatar qiulang commented on June 11, 2024
On some of my machines I got the error "Error creating offer: SyntaxError: Failed to construct 'RTCPeerConnection': '' is not a valid URL."

from samples.

Comments (8)

alvestrand avatar alvestrand commented on June 11, 2024

"" is not a legal URL, so the error message is quite correct.

I can reproduce the error by pressing "Add Server" a few times before hitting "Gather candidates" without filling in anything in the URI field of the form. Is this what's happening?

It might be good if the UI did not allow adding an empty URI.

from samples.

qiulang avatar qiulang commented on June 11, 2024

But I didn't know how I triggered the problem and it just happened and only happened in some of my machine.

from samples.

alvestrand avatar alvestrand commented on June 11, 2024

Try it again and be careful to NOT touch the "Add Server" button, and see if you can reproduce.

from samples.

qiulang avatar qiulang commented on June 11, 2024

On one of my machine it always happens now but it used to work so I had thought it may be because of some Chrome extensions I installed. I closed all these extension but it still happens. On my other machine I still can not trigger it.

from samples.

fippo avatar fippo commented on June 11, 2024

The "Reset to defaults" button should clear the invisible elements. But we should not be adding them in the first place...

from samples.

qiulang avatar qiulang commented on June 11, 2024

@fippo yes "Reset to defaults" does fix my problem. I just can't find out why it happened in the first place.

from samples.

qiulang avatar qiulang commented on June 11, 2024

Hi I am closing this issue as I don't want to "waste" my time on this minor issue.

from samples.

alvestrand avatar alvestrand commented on June 11, 2024

See if PR #1648 fixes your issue.

from samples.

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.