question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connect Fail while connect in @livekit/react-components 1.0.2. DO NOT USE @livekit/react-components 1.0.2!!

See original GitHub issue

After Request connect to server in livekit-react with an example

I’ve got livekit connection error for a few seconds “error Client initiated disconnect”

and after that show this error message “error could not connect PeerConnection after timeout”

So I guess this can be hand shake problem with livekit react and livekit server.

How can i solve this problem?

This is my project envirorment.

package.json

{
  "name": "weco_client",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@livekit/react-components": "^1.0.2",
    "livekit-client": "^1.3.3",
    "autoprefixer": "^10.4.11",
    "axios": "^0.27.2",
    "next": "^12.3.0",
    "postcss": "^8.4.16",
    "postcss-loader": "^7.0.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-textarea-autosize": "^8.3.4",
    "recoil": "^0.7.5",
    "tailwindcss": "^3.1.8",
    "ws": "^8.8.1"
  },
  "devDependencies": {
    "eslint": "8.23.0",
    "eslint-config-next": "12.2.5"
  }
}

Server envirorment

livekit-server version 1.2.3

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lukasIOcommented, Oct 4, 2022

hi, the version mismatch should be fixed in 1.0.3, feel free to reopen if the problem persists for you!

0reactions
laskdjlaskdj12commented, Oct 3, 2022

so i think, fixed version is not update in npm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React component and library for LiveKit - GitHub
React component and library for LiveKit. Contribute to livekit/livekit-react development by creating an account on GitHub.
Read more >
React Core and Components - LiveKit Blog
We provide state management and media rendering utility components, allowing you to implement custom UI components and designs. The same SDK ...
Read more >
livekit-react - npm
Start using livekit-react in your project by running `npm i livekit-react`. ... livekit-react has been renamed to @livekit/react-components ...
Read more >
'view' cannot be used as a jsx component. its instance type ...
Hello everyone I am getting this error in my RN project : "'View' cannot be used as a JSX component. Its instance type...
Read more >
Issue sending & receiving streams between two clients in ...
Rendering the following component in App.tsx. import { Participant, Room, Track } from "livekit-client"; import { useRoom, useParticipant, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found