arunkumar
(Arunkumar)
October 2, 2019, 3:42am
1
Hi
My Application Scenario is like this:
create a meeting by back-end-server using API.
3 users, join the meeting by Web SDK & JS SDK.
I am getting an error message like “meeting not started”.
can I start meeting without the host start?
or
How can I start by meeting by API? any other way?
or
Do users join the meeting without a host?
Create Meeting Parameters:
{
“topic”: “Testing API Create Metting”,
“type”: 1,
“password”: “”,
“agenda”: “3 users join the test meeting”,
“settings”: {
“host_video”: true,
“participant_video”: true,
“join_before_host”: true,
“mute_upon_entry”: true,
“watermark”: true,
“use_pmi”: false,
“approval_type”: 2,
“audio”: “voip”,
“auto_recording”: “none”,
“enforce_login”: false
}
}
tommy
(Tommy Gaessler)
October 2, 2019, 3:59pm
2
Hey @arunkumar ,
You can start the meeting via the Web SDK by setting the role to 1 in the meetConfig object. This allows a user to join the meeting as a host which starts the meeting.
Hey @danish , happy to help!
You can start a meeting with the Web SDK .
To start a meeting with the sample web app follow these steps,
$ git clone https://github.com/zoom/sample-app-web.git
$ cd sample-app-web/CDN
$ npm install
$ npm run start
Enter your API_Key and API_Secret in the js/index.js file.
Change the role on the meetConfig object to 1 to start a meeting as a host.
Refresh your browser, and enter your meeting ID in the meeting number input and click the blue Join button. This w…
Let me know if this helps!
Thanks,
Tommy
arunkumar
(Arunkumar)
October 3, 2019, 2:34am
3
Hi @tommy ,
Thanks to help me. yeah its working
Thanks,
Arun
Matiboy
(Mathieu)
March 26, 2020, 4:39am
5
Hi Tommy,
Is there documentation of what each role value corresponds to somewhere?
Thanks!
Mat
tommy
(Tommy Gaessler)
March 26, 2020, 7:02am
6
Hey @Matiboy ,
To start a meting, pass in role 1, to join a meeting pass in role 0.
We will make this more clear in our docs.
Thanks,
Tommy