You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
Hello,
The client sdk fails to connect if using vitejs and firefox,
using cra works fine on either chrome or firefox,
For testing I used this simple example:
reproduction steps:
1- run livekit server and create a token to be used in the above code
2- create cra project: npx create-react-app react-test-cra --template typescript
3- create vitejs project: npm create vite@latest
4- install @livekit/react-core on both projects
5- run each project test it in chrome and firefox and watch the console to know if it is successful or not
results:
cra project: works in both chrome and firefox
vitejs project: works in chrome but fails in firefox with the below error log:
sending answer [SignalClient.ts:359:8](http://localhost:5173/node_modules/livekit-client/src/api/SignalClient.ts)
WebRTC: ICE failed, add a TURN server and see about:webrtc for more details
primary PC state changed failed [RTCEngine.ts:316:10](http://localhost:5173/node_modules/livekit-client/src/room/RTCEngine.ts)
room event connectionStateChanged
Object { event: "connectionStateChanged", args: (1) […] }
[Room.ts:1398:10](http://localhost:5173/node_modules/livekit-client/src/room/Room.ts)
room event disconnected
Object { event: "disconnected", args: (1) […] }
[Room.ts:1398:10](http://localhost:5173/node_modules/livekit-client/src/room/Room.ts)
clearing ping interval
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
The client sdk fails to connect if using vitejs and firefox,
using cra works fine on either chrome or firefox,
For testing I used this simple example:
reproduction steps:
1- run livekit server and create a token to be used in the above code
2- create cra project:
npx create-react-app react-test-cra --template typescript
3- create vitejs project:
npm create vite@latest
4- install
@livekit/react-core
on both projects5- run each project test it in chrome and firefox and watch the console to know if it is successful or not
results:
cra project: works in both chrome and firefox
vitejs project: works in chrome but fails in firefox with the below error log:
The text was updated successfully, but these errors were encountered: