Package org.bigbluebutton.voiceconf.messaging.messages

Examples of org.bigbluebutton.voiceconf.messaging.messages.UserDisconnectedFromGlobalAudio


  public void userDisconnectedFromGlobalAudio(String voiceConf, String callerIdName) {
    Matcher matcher = CALLERNAME_PATTERN.matcher(callerIdName);
    if (matcher.matches()) {     
      String userid = matcher.group(1).trim();
      String name = matcher.group(2).trim();
      String json = new UserDisconnectedFromGlobalAudio(voiceConf, userid, name).toJson();
      sender.send(MessagingConstants.TO_MEETING_CHANNEL, json);
    } else {
      log.warn("Invalid calleridname [{}] in userDisconnectedFromGlobalAudio as it does not match pattern (.*)-bbbID-(.*)");
      String json = new UserDisconnectedFromGlobalAudio(voiceConf, callerIdName, callerIdName).toJson();
      sender.send(MessagingConstants.TO_MEETING_CHANNEL, json)
    }
  }
View Full Code Here

TOP

Related Classes of org.bigbluebutton.voiceconf.messaging.messages.UserDisconnectedFromGlobalAudio

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.