#Using zoom sdk/api in tauri app

31 messages · Page 1 of 1 (latest)

fresh scaffold
#

hello, I need to use zoom rest API and Meetings SKD in my tauri app, for that I need a backend service like express.js in node.js.
Is it possible to run node.js server in tauri app , any examples or alternative solutions, suggestions?
Thank you!

violet fern
#

Why do you think you need express.js or node?

fresh scaffold
#

and what about rest api?

#

i still need to send requests from beckend service like express.js right?

#

also most likely I need video sdk not meeting sdk , which don't have electron version- https://developers.zoom.us/docs/video-sdk/

zoomvideocommunications

The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

remote spindle
#

it has a web sdk though which hopefully works as-is inside the webview

fresh scaffold
#

yes but here is thes

#

The Zoom API 31 cannot be called from the frontend. You will see cors errors 8. You have to make requests to the Zoom API from a server side application 71.

#

from here

#

so I need server side appilcation

remote spindle
#

why the hell do they have a web sdk if they know it doesn't work

fresh scaffold
#

i am not sure but they rest api failing from react app

#

so you don't suggest to use node in tauri?

#

may be I can do requests from rust?

remote spindle
remote spindle
fresh scaffold
remote spindle
#

ehh, personally not much tbh.

#

or well

#

more like "it depends"

#

many people are quick to jump the gun on bundling a nodejs runtime with their tauri app but there are reasons why tauri doesn't include nodejs

#

but yes, it has its use-cases but it should be more like the last resort, not the first thing people try

#

so in your case, if tauri's http js api doesn't work and you don't want to work with rust at all, then nodejs would be okay imo

#

but after all, it's completely up to you, if you prefer a nodejs runtime in your app then we can't stop you :D

fresh scaffold
#

ok i see , is it possible to use video sdk from rust ?

remote spindle
#

Sooo, i'm a bit confused, there seem to be 2 video sdk.

The one you linked should work in tauri's webview as-is (probably inside an iframe) since it was designed for that apparently. I don't think the discussion comment you linked was about this sdk.
Either way, using that sdk from outside a web context doesn't make sense since you'd loose access to webrtc which it apparently needs.

Then there's the second video sdk rest api which is just a bunch of simple http requests which would work in rust just fine.