Issue while creating Sub Sessions using Zoom Video SDK

We are creating Sub Sessions using Zoom Video SDK.

Reference Link:

We have created Sub Session with distribute users evenly to each sub session.

Example:
If there are a total of 12 ppl, we are creating subsession with 4 groups of 3.

Following Syntax used:
const subsession = client.getSubsessionClient();

subsession.createSubsessions([‘subsessionName1’, ‘subsessionName2’], 1)

Problem:
We are trying to open the Sub Session using the following syntax

subsession.openSubsessions([{ subsessionId: 1, sessionName: ‘sessionName1’ }, { subsessionId: 2, sessionName: ‘sessionName2’ }], { isTimerEnabled: true, timerDuration: 1800 })

Even after entering sub sessions, user is able to hear from all groups as in normal main session.

We can see different subsessions are created with respective set of groups in them, but while verifying if users are split into submissions using following syntax:

subsession.getSubsessionList()

We can see in “userList” the “isInSubsession” is always false. Why are we getting the “isInSubsession” as false?

“Sample Response”:
[
{
subsessionId: “{BA4037E3-0566-2A1E-98C6-BBCAFD847689}”,
subsessionName: “test-03112022-4-97-1”
userList:[
{
avatar: undefined
displayName: “Rajkumar_8 Ganesan”
isInSubsession: false
userId: 33555456
}
]
}
]

Which Web Video SDK version?
We are using Zoom Video SDK 1.5.0

Video SDK Code Snippets
subsession.getSubsessionList()

Device (please complete the following information):

  • Device: iMac
  • OS: MacOS Monterey Version 12.4
  • Browser: Chrome
  • Browser Version: Version 107.0.5304.110 (Official Build) (arm64)

Hey @srikanth

Thanks for your feedback.

Currently, only the host can see the in subsession status of the users. And the Video SDK Web provides main-session-user-updated event to get the latest status of the user.

Thanks
Vic

Problem: We can hear from all users in other Subsessions

We tried this,

Opened the Sub sessions using the following syntax;

subsession.openSubsessions([{ subsessionId: 1, sessionName: ‘sessionName1’ }, { subsessionId: 2, sessionName: ‘sessionName2’ }], { isTimerEnabled: true, timerDuration: 1800 })

Which did not return any error also did not return any success message.

But while check the below,

subsession.getSubsessionList()

I can see users are split.

But all users voice are heard form other Subsessions.

Hey @srikanth ,

Instead of passing in a JSON array for the first argument, try passing in the response of the subsessions.getSubsessionsList() function.

We are updating the docs to be more clear about that. :slight_smile:

Let me know if that helps!

Thanks,
Tommy