fletcherist / webtrc-voice-chat

group voice chat
MIT License
81 stars 9 forks source link

demo run #3

Open chinarui-na opened 3 years ago

chinarui-na commented 3 years ago

online the online demo can not run. the 'wss://cap.chat/test' can not connect local i do not know how to run react demo with server. server is http.i find react demo use websocket.

fletcherist commented 3 years ago

@chinarui-na heya there. ty for report. I'll fix this in an hour

callipenguin commented 3 years ago

same issue is here.. this is the log what I got when I tried to access demo site (https://webrtc-voice-chat.netlify.app/test)

VoiceChat.tsx:234 WebSocket connection to 'wss://cap.chat/test' failed: 
VoiceChat.tsx:238 
Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: WebSocket {url: "wss://cap.chat/test", readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
defaultPrevented: false
eventPhase: 0
isTrusted: true
path: []
returnValue: true
srcElement: WebSocket {url: "wss://cap.chat/test", readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
target: WebSocket {url: "wss://cap.chat/test", readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}

.
.
.
ws is closed

thank you so much for giving me hope :)