client.removeUser() fails with OPERATION_TIMEOUT when in a subsession

Using VideoSDK for Web version 2.2.0, Chrome 138 & Edge 137

Hi,
I’m creating a subsession and adding users to it as follows. This all seems to work correctly

const createResponse = await subsessionClient.createSubsessions(1);
const subsession = createResponse[0];

for (const u of participantsToAdd) {
	 await subsessionClient.assignUserToSubsession(u.userId, subsession.subsessionId);
}

await subsessionClient.openSubsessions([subsession], {
	 isAutoJoinSubsession: true,
	 isAutoMoveBackToMainSession: true,
	 waitSeconds: 0
});

await subsessionClient.joinSubsession(subsession.subsessionId);

When in the subsession, calling client.removeUser() fails after a few seconds with

{
	"type": "OPERATION_TIMEOUT",
	"errorCode": 1
}

This seems to only affect subsessions, calling removeUser() from the main session works as expected.

I’m having a possibly related issue with subsessionClient.moveBackToMainSession() which I’ll add as a separate ticket

Hey @Jonathan11

Thanks for your feedback.

This is indeed an issue with our Video SDK, and we will fix it in the next release.

Thanks
Vic