How to get audio stream of Zoom Meetings by Web Apps

Meeting SDK Type and Version
v6.1.0

Description
I would like to connect to a Zoom meeting from a Python web app and obtain an audio stream in real time.
I’m trying to connect to a Zoom meeting by calling the Meeting SDK for Windows dll function from a Python web app, but the SDKAuth function returns an Internal Error.

I thought there was something wrong with the JWT token being passed to the SDKAuth function, but if I enter the same JWT token in DEMOv2 that comes with the SDK, I can connect to the Zoom meeting correctly.

Does anyone know why the SDKAuth function returns an Internal Error and how to deal with it?

Also, is using the Zoom SDK the correct approach to get the audio of a Zoom meeting in real time from a Python web app?
Is there an approach to implement it using Zoom’s WebAPI?

@sozo at this moment, you will not be unable to access the audio stream via the Web SDK.

The solution right now would be to use Client SDK such as Windows, Linux or macOS to access the raw audio stream via raw data access.

@chunsiong.zoom
Thank you for answering.

I’m trying to get the audio stream with Client SDK for Windows from the Python Web App.
But the SKDAuth function of the Client SDK returns an Internal Error.

@sozo do you have a JWT token which you are using on the Windows SDK?

@chunsiong.zoom
Yes, I have a JWT token.
I entered that token into the Demo v2 with the Client SDK and confirmed I could connect to a Zoom meeting.

@sozo what is this error about?

I made a typo.
It’s SDKAuth, not SKDAuth.
The return value of the SDKAuth function is 15.
In the Demo v2 C++ source, the return value 15 is defined as SDKERR_INTERNAL_ERROR.

@sozo I’m a bit confused.

Are you able to connect to the Zoom Meeting or you are not able to connect to the Zoom Meeting with Windows Meeting SDK?

@chunsiong.zoom
I can connect to a Zoom meeting from the Demo v2 app that came with the Client SDK, but I’m having trouble because I can’t connect to a Zoom meeting by calling the Client SDK from a web app developed in Python.

@sozo

Client SDK refers to

  • Meeting SDK on Windows
  • Meeting SDK on Linux
  • Meeting SDK on macOS

When you are using the SDK on Python, you might be referring to Meeting SDK for Web.

Do you have a sample of the JWT token used for Meeting SDK for Web + Python?

On Meeting SDK for Web, the JWT token is slightly different from Client SDK

@chunsiong.zoom
I don’t know the difference between Meeting SDK for Web and Meeting SDK for Windows.

I downloaded the SDK following page of the App Marketplace.
Is it Meeting SDK for Web?

@sozo

The screenshot shows Meeting SDK for Windows

Are you trying to call c++ api using python?

@chunsiong.zoom
Yes, I’m trying that.

@sozo I have personally not tried that, so I can’t say if it will work or not.

It is not a supported scenario though

@chunsiong.zoom
I got it.
So, is there any other good way to get the Zoom audio stream from a Python web app?

@sozo the Web SDK does not support audio stream access at the moment.

@chunsiong.zoom
Does that mean I can’t get the ZOOM meeting audio stream in any way from the web app?

@sozo, one option you could check out is the Recall.ai API. Here are the docs on getting real-time audio and video stream from Zoom.

@amanda-recallai
Thank you for your suggestion.
How can I use Recall.ai API?
Can I schedule a web conference with Mr. Sam to get an account?

Hey @sozo, yes – please schedule a meeting from the website and we’re happy to set you up with an account.

Feel free to use this link to schedule the meeting if it’s easier: Recall.ai meeting