We are using the Zoom Video SDK Toolkit in our Next.js application for video conferencing. However, we are encountering issues with retrieving session details. According to the documentation, it is possible to use the Zoom Video SDK Core alongside the Toolkit. But when we create a client using the core SDK, it does not provide us with the session details.
Below is a simplified version of our code for joining a session:
async function joinSession() {
const sessionContainer = document.getElementById(“sessionContainer”);
const chatContainer = document.getElementById(“chatContainer”);
const videoContainer = document.getElementById(“videoContainer”);
const controlsContainer = document.getElementById(“controlsContainer”);
await zoomClient.init(“en-us”, “global”);
await zoomClient.join(
config.sessionName,
config.videoSDKJWT,
config.userName,
config.sessionPasscode
);
// uitoolkit.joinSession(sessionContainer, config);
uitoolkit.showUitoolkitComponents(sessionContainer, config);
uitoolkit.showChatComponent(chatContainer);
uitoolkit.showVideoComponent(videoContainer);
uitoolkit.showControlsComponent(controlsContainer);
// console.log(“zoom c”, zoomClient.getSessionInfo());
uitoolkit.onSessionJoined(sessionJoined);
uitoolkit.onSessionClosed(closeSession);
}
We have noticed that using zoomClient.join works, but it creates a duplicate session, which might cause problems in our application.
Additionally, we are looking for a way to retrieve the transcript after a session ends. We have attempted to use the session recordings API for this purpose. Could you please confirm if this is the correct approach or advise on the proper method to obtain the transcript?
Thank you for your assistance.