Format Your New Topic as Follows:
1.11.6
Share the Video SDK type and version you’re working with to give relevant context.
Description
We have a user that wants to share their screen for hours at a time where the screen is displayed is not updated or changed while having discussions. They were running into the session ending after 40 minutes. We changed the sessionIdleTimeoutMins parameter of the VideoClient join method to 10 hours. The session is still timing out after 40 minutes.
Here is a code sample of how we call it:
private static readonly sessionIdleTimeoutMins = 600;
private async ensureClientAndSession(identity: string, activityId: string, role: SessionRole): Promise<void> {
const token = await this.getScreenSharingToken(identity, activityId, role);
this.client = ZoomVideo.createClient();
return this.ngZone.runOutsideAngular(async () => {
await this.client.init('en-US', 'Global', { patchJsMedia: true, stayAwake: true });
await this.client.join(activityId, token, identity, '', ZoomMediaSharingService.sessionIdleTimeoutMins);
this.stream = this.client.getMediaStream();
});
We were wondering if we were calling it wrong or not understanding how it works properly. We know that there is a 40 minute timeout on free Zoom meetings but our developer account is a paid account.