All integrations were made following the Zoom Video SDK documentation.
I’m having some unsolved issues in the documentation.
When I have a subsession created and I try to create another, the second one is not created because the following error is returned:
Uncaught (in promise) TypeError: e.map is not a function
The function I use to create the subsessions is this:
export const createSubsessions = async (subsessionClient, subsessionNames = [], autoAssignType = 1) => {
if (!subsessionClient) return
await subsessionClient.createSubsessions(subsessionNames, autoAssignType)
}
In the subsessionClient parameter I pass the subsession client, in the subsessionNames parameter I pass an array containing strings with the room names.
Ex:
createSubsessions(client.getSubsessionClient(), ['Room 2'], 2)
Below is more information about the versions and system I am using:
Video SDK version: 1.12.5
React version: 18
Next JS version: 14.2.2
OS: Windows 11
Browser: Google Chrome
Browser Version 129.0.6668.70 (Official Build) (64 bits)