Examples of VoiceUserMutedEvent


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

    @Override
    public void conferenceEventMute(String uniqueId, String confName, int confSize, EslEvent event) {
        Integer memberId = this.getMemberIdFromEvent(event);
        System.out.println("******************** Received Conference Muted Event from FreeSWITCH user[" + memberId.toString() + "]");
        log.info("User muted voice conference, user=[" + memberId.toString() + "], conf=[" + confName + "]");
        VoiceUserMutedEvent pm = new VoiceUserMutedEvent(memberId.toString(), confName, true);
        conferenceEventListener.handleConferenceEvent(pm);
    }
View Full Code Here

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

    @Override
    public void conferenceEventUnMute(String uniqueId, String confName, int confSize, EslEvent event) {
        Integer memberId = this.getMemberIdFromEvent(event);
        System.out.println("******************** Received ConferenceUnmuted Event from FreeSWITCH user[" + memberId.toString() + "]");
        log.info("User unmuted voice conference, user=[" + memberId.toString() + "], conf=[" + confName + "]");
        VoiceUserMutedEvent pm = new VoiceUserMutedEvent(memberId.toString(), confName, false);
        conferenceEventListener.handleConferenceEvent(pm);
    }
View Full Code Here

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

   
    recorder.record(room, evt);
  }
 
  private void recordParticipantMutedEvent(VoiceConferenceEvent event, String room) {
    VoiceUserMutedEvent pme = (VoiceUserMutedEvent) event;
   
    ParticipantMutedVoiceRecordEvent evt = new ParticipantMutedVoiceRecordEvent();
    evt.setMeetingId(room);
    evt.setTimestamp(genTimestamp());
    evt.setBridge(event.getRoom());
    evt.setParticipant(((VoiceUserMutedEvent)event).getUserId().toString());
    evt.setMuted(pme.isMuted());
   
    recorder.record(room, evt);
  }
View Full Code Here

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

        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
Copyright © 2018 www.massapi.com. 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.