voxeet / voxeet-sdk-web

The Dolby.io Communications SDK for Web.
https://www.npmjs.com/package/@voxeet/voxeet-web-sdk
Other
4 stars 2 forks source link

Conference in a Wrong State #27

Open slicertech opened 8 months ago

slicertech commented 8 months ago

Hi Team,

We are seeing some issues in our platform when we have multiple users at once. Most of the users experience was OK but a few had some issues.

Please see logs attached. dolby-conference-errors.txt

As you can see the conference has got into a wrong state. Why would this be? While other Users were fine? How can we mitigate this issue?

Thanks!

slicertech commented 7 months ago

Hi,

Any help with this?

Bokoblin commented 6 months ago

This type of error suggests a problem on the user-side (cf196d42-7e98-3776-bb5a-3f47b17dddd1), specifically given the other users in the conference are fine. You can see https://docs.dolby.io/communications-apis/docs/js-client-sdk-conferenceservice#error for reference even though there is no details on what to do. There is no indication in your logs that the conference itself entered a wrong state

Messages such as "Incorrect participant session" would indicate the server-side considered this user as disconnected potentially following ejecting them due to bad connection if I'm correct. So even though the SDK would attempt auto-reconnection, using the old session, you will never be reconnected

In this situation, you should likely fully disconnect your user, initiate a new session for the user and join again the conference with this new session.