Adding a username to the Demo3.jsp (would this work?)

40 views
Skip to first unread message

Doug Gray

unread,
Oct 19, 2016, 12:15:38 PM10/19/16
to BigBlueButton-dev

Demo3.jsp

 

// Check if we have a valid password

                                //

                                if ( ! password.equals(viewerPW) && ! password.equals(moderatorPW) ) {

 

Could I add       if ( ! username.equals(viewername) ! username.equals(moderatorname) ) {

 

 

 

 

Bbb_api.jsp

 

String attendee_password_param = "&attendeePW=ap";

                String moderator_password_param = "&moderatorPW=mp";

 

Could I add

String attendee_username_param =”&attendeename=attendee

                String moderator_username_param = "&moderatorname=moderator";

 

String create_parameters = attendee_username_param + moderator_username_param + urlEncode(meetingID)

                                + "&meetingID=" + urlEncode(meetingID) + welcome_param

                                + attendee_password_param + moderator_password_param + "&record=true"

                                + moderatorWelcomeMsg_param + voice_bridge_param + logoutURL_param;

 

Doug Gray

unread,
Oct 19, 2016, 1:43:35 PM10/19/16
to BigBlueButton-dev

http://pastebin.com/A7QmaMEU  bbb-api



i can get in with attendee password and ether username attendee or moderator username 

but once i use the moderator password it doesn't work 

Doug Gray

unread,
Oct 20, 2016, 11:39:04 AM10/20/16
to BigBlueButton-dev


update i got the moderator pw working again well kind of its not making the user a moderator its treating it like a viewer but its working out pretty well .. i just need to change some more code.

Fred Dixon

unread,
Oct 20, 2016, 12:54:11 PM10/20/16
to BigBlueButton-dev
Hi Doug,

> Could I add
> String attendee_username_param =”&attendeename=attendee
>                 String moderator_username_param = "&moderatorname=moderator";

The BigBlueButton API uses fullname to pass the user's full name.  The parameters attendeename and moderatorname are not recognized by the API.  See



Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Doug Gray

unread,
Oct 20, 2016, 2:37:47 PM10/20/16
to BigBlueButton-dev
i have added them in 
Reply all
Reply to author
Forward
0 new messages