January 26, 2023, 11:19am
Hi! We encountered a problem when reconnecting a host with poor connection quality.
Create a conference.
Turn off the Internet at the host (in-flight mode or devtools->network->offline).
Reload the page, then turn on the internet.
Reconnect to the same conference.
The host role remains with the participant who left the meeting, but his connection is no longer relevant. At the same time, the second connection is forced to wait until the socket connection on the side of your server is closed.
This is a problem in our application (probably not only in ours) since our host is the teacher leading the lesson. And when reconnecting, he loses his privileges.
The role_type parameter in both connections is 1
zoom web sdk 1.5.0.
Thank you for your post! Video SDK v. 1.6.0 has been released. Could you try updating the package in your application and let me know if the issue still persists?
January 26, 2023, 7:12pm
I’ve already done that. The problem remains. You can easily reproduce it yourself and check it out.
January 27, 2023, 7:33am
@rehema.zoom , @vic.yang
I found some forum posts that seem to directly address our problem. But they do not give an answer how to get rid of the host waiting.
The state:'Fail',reason:'connection error') return value indicates the video sdk cannot reach any available servers. It usually occurs when the network is disconnected.
And for why others can still see the disconnected user in the session, our server has a hearbeat detection mechanism, when the disconnection exceeds two minutes, the user will be shown as leaving(disappeared in the user list).
We do this so that others don’t see you rejoining the session due to a short-term network…
After 3 minutes, if the host still does not join the session, the server will re-assign the host to another participant.
It looks like this behavior was originally intended, and it’s your developers who don’t consider it a bug. However, there must be parameters to regulate this, because it causes problems.
January 30, 2023, 2:07am
Thanks for your feedback.
We will add the ‘reclaim host’ function in the next release. Maybe it can solve your problems.
The original host can reclaim the host privilege if he/she is not the host in a session.
role_type =1 → original host.
February 1, 2023, 4:28pm
Is the next release planned, which will include this feature, within a month?
February 3, 2023, 3:54am
It will be included in the next release. The release date will be around the end of February.
February 21, 2023, 4:56pm
Providing an update here. We had to push back this feature to our March release schedule due to some additional dependencies.
You can subscribe to release updates via email here to be notified when this is released in March:
@vic.yang @tommy !
When is it planned to release a release with this fix ? For us, this problem is critical, because customers regularly encounter it.
March 15, 2023, 1:45am
We will release the next version around the end of March.