bigbluebutton / bigbluebutton-api-php

Offical @BigBlueButton PHP API
https://github.com/bigbluebutton/bigbluebutton/
GNU Lesser General Public License v3.0
179 stars 198 forks source link

Join as user #219

Closed AamirAnwar3311 closed 7 months ago

AamirAnwar3311 commented 7 months ago

Is there any possibility to join as user. So that, the user cannot have access to end meeting. The user can only join the meeting as a student, not the teacher. Only the person who has created the meeting will be able to end the session or meeting.

Please let me know. If there is any kind of possibility.

GhaziTriki commented 7 months ago

Hello,

Just use the VIEWER role at join. Kindly check the API docs

https://docs.bigbluebutton.org/development/api/#join

AamirAnwar3311 commented 7 months ago

i am using the same PHP package for working. Can you please explain me in detail.

I am using this code for joining.

$bbb = new BigBlueButton();

$joinMeetingParams = new JoinMeetingParameters($meetingID, $name, $password); $joinMeetingParams->setRedirect(true); $url = $bbb->getJoinMeetingURL($joinMeetingParams);

Thanks for your time.