Package org.bigbluebutton.api.domain

Examples of org.bigbluebutton.api.domain.Meeting


    log.warn("The meeting " + message.meetingId + " doesn't exist");
  }

  private void userJoined(UserJoined message) {
    log.debug("User joined in meeting[{}]", message.meetingId);
    Meeting m = getMeeting(message.meetingId);
    if (m != null) {
      User user = new User(message.userId, message.externalUserId, message.name, message.role);
      m.userJoined(user);
      log.info("New user in meeting [" + message.meetingId + "] user [" + user.getFullname() + "]");
     
      Map<String, Object> logData = new HashMap<String, Object>();
      logData.put("meetingId", m.getInternalId());
      logData.put("externalMeetingId", m.getExternalId());
      logData.put("name", m.getName());
      logData.put("userId", message.userId);
      logData.put("externalUserId", user.getExternalUserId());
      logData.put("username", user.getFullname());
      logData.put("role", user.getRole());     
      logData.put("event", "user_joined_meeting");
View Full Code Here


    log.warn("The meeting " + message.meetingId + " doesn't exist");
  }

  private void userLeft(UserLeft message) {
    log.debug("User left from meeting[{}]", message.meetingId);
    Meeting m = getMeeting(message.meetingId);
    if (m != null) {
      User user = m.userLeft(message.userId);
      if(user != null){
        log.info("User removed from meeting [" + message.meetingId + "] user [" + user.getFullname() + "]");
       
        Map<String, Object> logData = new HashMap<String, Object>();
        logData.put("meetingId", m.getInternalId());
        logData.put("externalMeetingId", m.getExternalId());
        logData.put("name", m.getName());
        logData.put("userId", message.userId);
        logData.put("externalUserId", user.getExternalUserId());
        logData.put("username", user.getFullname());
        logData.put("role", user.getRole());     
        logData.put("event", "user_joined_meeting");
View Full Code Here

    }
    log.warn("The meeting " + message.meetingId + " doesn't exist");
  }
   
  private void updatedStatus(UserStatusChanged message) {
    Meeting m = getMeeting(message.meetingId);
    if (m != null) {
      User user = m.getUserById(message.userId);
      if(user != null){
        user.setStatus(message.status, message.value);
        log.info("Setting new status value in meeting " + message.meetingId + " for participant:" + user.getFullname());
        return;
      }
View Full Code Here

      // app can reuse the external meeting id.
      long createTime = System.currentTimeMillis();
      internalMeetingId = internalMeetingId + '-' + new Long(createTime).toString();
     
      // Create the meeting with all passed in parameters.
      Meeting meeting = new Meeting.Builder(externalMeetingId, internalMeetingId, createTime)
          .withName(meetingName).withMaxUsers(maxUsers).withModeratorPass(modPass)
          .withViewerPass(viewerPass).withRecording(record).withDuration(meetingDuration)
          .withLogoutUrl(logoutUrl).withTelVoice(telVoice).withWebVoice(webVoice).withDialNumber(dialNumber)
          .withDefaultAvatarURL(defaultAvatarURL).withAutoStartRecording(autoStartRec).withAllowStartStopRecording(allowStartStoptRec)
          .withMetadata(meetingInfo).withWelcomeMessage(welcomeMessage).build();
     
      String configXML = getDefaultConfigXML();
      meeting.storeConfig(true, configXML);
     
      return meeting;
  }
View Full Code Here

TOP

Related Classes of org.bigbluebutton.api.domain.Meeting

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.