use mod and attendee passwords in createMeeting call

This commit is contained in:
Anton Georgiev 2017-07-26 09:36:14 -04:00
parent db8487dc0c
commit 108716e878

View File

@ -101,8 +101,8 @@ if (request.getParameterMap().isEmpty()) {
}
String defaultModeratorPassword = "mp";
String defaultAtendeePassword = "ap";
String defaultPassword = defaultAtendeePassword;
String defaultAttendeePassword = "ap";
String defaultPassword = defaultAttendeePassword;
boolean isModerator = false;
if (request.getParameter("isModerator") != null) {
@ -113,7 +113,7 @@ if (request.getParameterMap().isEmpty()) {
String ip = BigBlueButtonURL.split("\\/bigbluebutton")[0];
String html5url = ip + "/html5client/join";
String meetingId = createMeeting( meetingname, null, defaultPassword, "Welcome moderator! (moderator only message)", defaultPassword, null, null );
String meetingId = createMeeting( meetingname, null, defaultModeratorPassword, "Welcome moderator! (moderator only message)", defaultAttendeePassword, null, null );
// Check if we have an existing meeting
if( meetingId.startsWith("Error ")) {