godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.65k stars 1.58k forks source link

Example of "webrtc_signaling" not working on the web #982

Closed satoshidisciple closed 10 months ago

satoshidisciple commented 10 months ago

Example of "webrtc_signaling" not working on the web

To test, simply configure export for the Web. Run node_server and run the project.

When executed by the editor, everything will work normally, but if you try to run it in the Browser the connection will not be established.

I investigated the problem and apparently the error is in performing "ws.get_ready_state" before "ws.pool" in the browser;

Bugsquad edit: Fixes #983

aaronfranke commented 10 months ago

Thanks!