New Telesto
New Telesto

Reputation: 1

error in https://api.videosdk.live/infra/v1/meetings/init-config

I'm stuck with a problem rendering videoSdk, I implemented it and it works well in the development environment, but when it goes to the web server the video doesn't work and it shows me an error in the api "https://api.videosdk. live/infra/v1/meetings/init-config" it says the token is missing or something like that, has anyone ever had this problem?

error in call:

https://api.videosdk.live/infra/v1/meetings/init-config

Upvotes: 0

Views: 61

Answers (1)

Cygra
Cygra

Reputation: 76

I ran into the same problem today and managed to fix it.

I had this code in my component:

const { join } = useMeeting({ ... ... });

useEffect(() => {
   join();
}, []);

It seems the problem is related to join so I add a timeout on it.

useEffect(() => {
  setTimeout(() => {
    join();
  }, 500);
}, []);

This is a bad solution but it did save my day.

Upvotes: 0

Related Questions