Adding app_privilege_token using Meeting SDK for Web

Hey there,

we have built a bot using Meeting Web SDK , which joins as a guest and listens to the meeting. When joining we need to somehow send Local Recording Consent request to Meeting host, but the only way is by adding app_privilege_token when joining. Are there any other ways to do that? We need to show that consent so the host will know that the meeting will be recorded (even local recording is not needed).

Thanks!

Hey @tadas7 I’m happy to help! We use the Meeting Web SDK extensively for our bots and this is definitely something we’ve encountered before.

You can manually request recording permission from the host without using the app_privilege_token. You can do this by calling the ZoomMtg.mediaCapturePermission function. When you call this function, the host will get a popup asking them if they want to allow or deny recording by the bot.

When the host approves or denies the request, the ZoomMtg.inMeetingServiceListener("onMediaCapturePermissionChange",...) callback will be triggered.

If the request is approved, you’ll can then call the ZoomMtg.mediaCapture function to trigger the actual popup and recording notification dialog.

Make sure you’re on SDK version 2.17.0, since we’ve experienced bugs or inconsistent behavior with earlier SDK versions!

Another option is Recall.ai. It’s a simple 3rd party API that lets you use meeting bots to get the raw audio/video from meetings + output video/audio without you needing to spend months to build, scale and maintain these bots.

Let me know if you have any questions!

@amanda-recallai All right thank you!