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)