webtrc-voice-chat icon indicating copy to clipboard operation
webtrc-voice-chat copied to clipboard

demo run

Open chinarui-na opened this issue 4 years ago • 2 comments

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.

chinarui-na avatar Dec 02 '20 10:12 chinarui-na

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

fletcherist avatar Dec 03 '20 14:12 fletcherist

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 :)

callipenguin avatar Apr 26 '21 16:04 callipenguin