Package org.bigbluebutton.webconference.voice.events

Examples of org.bigbluebutton.webconference.voice.events.VoiceUserLeftEvent


    @Override
    public void conferenceEventLeave(String uniqueId, String confName, int confSize, EslEvent event) {    
        Integer memberId = this.getMemberIdFromEvent(event);
        log.info("User left voice conference, user=[" + memberId.toString() + "], conf=[" + confName + "]");
        VoiceUserLeftEvent pl = new VoiceUserLeftEvent(memberId.toString(), confName);
        conferenceEventListener.handleConferenceEvent(pl);
    }
View Full Code Here


        vcs.voiceUserJoined(evt.getVoiceUserId(), evt.getUserId(), evt.getRoom(),
            evt.getCallerIdNum(), evt.getCallerIdName(),
            evt.getMuted(), evt.getSpeaking());
      } else if (event instanceof VoiceUserLeftEvent) {
        System.out.println("************** FreeswitchConferenceEventListener received VoiceUserLeftEvent ");
        VoiceUserLeftEvent evt = (VoiceUserLeftEvent) event;
        vcs.voiceUserLeft(evt.getUserId(), evt.getRoom());
      } else if (event instanceof VoiceUserMutedEvent) {
        System.out.println("************** FreeswitchConferenceEventListener VoiceUserMutedEvent ");
        VoiceUserMutedEvent evt = (VoiceUserMutedEvent) event;
        vcs.voiceUserMuted(evt.getUserId(), evt.getRoom(), evt.isMuted());
      } else if (event instanceof VoiceUserTalkingEvent) {
        System.out.println("************** FreeswitchConferenceEventListener VoiceUserTalkingEvent ");
        VoiceUserTalkingEvent evt = (VoiceUserTalkingEvent) event;
        vcs.voiceUserTalking(evt.getUserId(), evt.getRoom(), evt.isTalking());
      } else if (event instanceof VoiceStartRecordingEvent) {
        VoiceStartRecordingEvent evt = (VoiceStartRecordingEvent) event;
        System.out.println("************** FreeswitchConferenceEventListener VoiceStartRecordingEvent recording=[" + evt.startRecord() + "]");
        vcs.voiceStartedRecording(evt.getRoom(), evt.getRecordingFilename(), evt.getTimestamp(), evt.startRecord());
      }        
      }
    };
   
    runExec.execute(task);
View Full Code Here

TOP

Related Classes of org.bigbluebutton.webconference.voice.events.VoiceUserLeftEvent

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.