Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

WebRtc is not working on web games.

A topic by SnapGamesStudios created 12 days ago Views: 102 Replies: 2
Viewing posts 1 to 3

im using Godot 4.3 and I know you need a WSS:// not a WS:// which I have done but for some reason when I play and start a client (player) the client can't connect to the server. and give this error WebSocket connection to 'wss://ADDRESS:8916/' failed:  (I ADDED THE WORD "ADDRESS" instead of the actual address)  even tho it works perfectly on windows and Linux. I'm using an external server I don't think this should affect the game

You didn't paste the full error message but if I had to guess, you probably need to allow CORS for https://html-classic.itch.zone on your backend.

(2 edits)

Link correction: https://html-classic.itch.zone/

Cors with checked on SharedArrayBuffer Support activates Cors here is the Thread/Community Blog, but continue your devlogs how is going forward with your webrtc in GoDot 4.3 / weblgl / datachannel, itch.zone: https://itch.io/t/2025776/experimental-sharedarraybuffer-support