Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartMeeting function in the example code is empty #19

Open
Faizan-Farooq opened this issue Jan 20, 2022 · 7 comments
Open

StartMeeting function in the example code is empty #19

Faizan-Farooq opened this issue Jan 20, 2022 · 7 comments

Comments

@Faizan-Farooq
Copy link

Hi,
The startMeeting function in the example code is empty. can you provide its implementation so that we can use it to create a meeting as well?
Thank You!

@driftboat
Copy link
Owner

Please follow this instruction to get "zak" and set it to “zoomAccessToken” of meetingOptions
Then call startMeeting function as you call joinMeeting function

@driftboat
Copy link
Owner

driftboat commented Jan 21, 2022

https://github.com/driftboat/flutter_zoom_plugin#start-a-meeting---non-login-user
Please ignore the "User Token",this parameter is not required any more

@driftboat
Copy link
Owner

For production, I think you can follow these steps to get "zak":

  1. Get the "JWT token" from your server
  2. Get “zak” by using http request

@driftboat
Copy link
Owner

driftboat commented Jan 21, 2022

By the way,“startMeeting” can not create a meeting, If you want to create a meeting, You will have to use an OAuth or JWT type app to create meetings using the API.
I think you can try these steps:

  1. Create a meeting by usging the API ( https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate )on your server side
  2. Get the "JWT token" and "Meeting ID" from your server on your flutter App
  3. Get “zak” by using a http request on your flutter App
  4. Start the meeting on your flutter App

@Faizan-Farooq
Copy link
Author

Thank You for this. Let me check it. So there is no way to create a meeting from within the mobile application without the use of a server?

@driftboat
Copy link
Owner

driftboat commented Jan 21, 2022

You can create a meeting without server, just generate "JWT token" and call the api in your flutter App

@Faizan-Farooq
Copy link
Author

You can create a meeting without server, just generate "JWT token" and call the api in your flutter App

Alright. Awesome i'll start implementing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants