API: how to do meeting with no p/w for attendees?

90 views
Skip to first unread message

Ken D'Ambrosio

unread,
Aug 1, 2012, 7:41:10 PM8/1/12
to bigbluebu...@googlegroups.com
Reading through the API docs, it's not clear how to create a meeting with no password required for attendee entry.  "The password that will be required for attendees to join the meeting.  If you did not supply one, BBB will assign a random password."  Does that mean that if I use 
attendeepw=
in my invocation, I'm generating a random password, or no password?

Thanks...

-Ken

Calvin Walton

unread,
Aug 1, 2012, 10:29:19 PM8/1/12
to bigbluebu...@googlegroups.com
If you pass "attendeePW=" in the create meeting API call, it will
generate a random password (it'll normally be 8 characters, letters and
numbers). The random password will be returned in the API response.

There's no way to create a meeting with no passwords right now, since
they're not really "passwords" so much as identification keys to tell
the difference between a moderator and attendee.

However, just because the meeting has a password doesn't mean that the
people who are joining have to enter one! Take a look at the code for
our demos, in particular demo1.jsp (as seen here:
http://demo.bigbluebutton.org/demo/demo1.jsp
with code at
https://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-api-demo/src/main/webapp/demo1.jsp

You don't have to enter a password to join the demo meeting, because the
password (in this case, the moderator password; but you could use the
attendee password instead) is hardcoded into the landing page. You
should be able to easily modify the demo1.jsp code to accomplish what
you want to do.

You could use a separate page that requires a password in order to allow
moderators to join.

--
Calvin Walton <calvin...@kepstin.ca>
Blindside Networks

Calvin Walton

unread,
Aug 1, 2012, 10:35:18 PM8/1/12
to bigbluebu...@googlegroups.com
On Wed, 2012-08-01 at 22:29 -0400, Calvin Walton wrote:
> On Wed, 2012-08-01 at 16:41 -0700, Ken D'Ambrosio wrote:
> > Reading through the API docs, it's not clear how to create a meeting with
> > no password required for attendee entry. "The password that will be
> > required for attendees to join the meeting. If you did not supply one, BBB
> > will assign a random password." Does that mean that if I use
> > attendeepw=
> > in my invocation, I'm generating a random password, or no password?

> However, just because the meeting has a password doesn't mean that the
> people who are joining have to enter one! Take a look at the code for
> our demos, in particular demo1.jsp (as seen here:
> http://demo.bigbluebutton.org/demo/demo1.jsp
> with code at
> https://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-api-demo/src/main/webapp/demo1.jsp

To clarify a bit more, the relevant code is actually in bbb_api.jsp:
https://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-api-demo/src/main/webapp/bbb_api.jsp#L153
The 'getJoinURL' function takes a parameter for a password, and if it is
null it will substitute in a default password (mp in this case) instead.

Ken D'Ambrosio

unread,
Aug 2, 2012, 3:06:21 AM8/2/12
to bigbluebu...@googlegroups.com
Wow!  Thanks so much.  I was thinking it was probably something like that, but it was really helpful to have it, y'know, said explicitly.  Might I suggest a word or two to this effect in the API docs for that particular call?

Thanks again!

-Ken

Fred Dixon

unread,
Aug 2, 2012, 8:07:15 AM8/2/12
to bigbluebu...@googlegroups.com
Hi,

We recently an update to demo1.jsp that reverted back to the original behaviour of assigning a default password.  

But you can see the changes that Calvin refers to in this commit


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

 

--
You received this message because you are subscribed to the Google Groups "bigbluebutton-users" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-users?hl=en.






Reply all
Reply to author
Forward
0 new messages