Examples of VoiceUserTalkingEvent


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

    }

    @Override
    public void conferenceEventAction(String uniqueId, String confName, int confSize, String action, EslEvent event) {
        Integer memberId = this.getMemberIdFromEvent(event);
        VoiceUserTalkingEvent pt;
       
        System.out.println("******************** Receive conference Action [" + action + "]");
       
        if (action == null) {
            return;
        }

        if (action.equals(START_TALKING_EVENT)) {
            pt = new VoiceUserTalkingEvent(memberId.toString(), confName, true);
            conferenceEventListener.handleConferenceEvent(pt);         
        } else if (action.equals(STOP_TALKING_EVENT)) {
            pt = new VoiceUserTalkingEvent(memberId.toString(), confName, false);
            conferenceEventListener.handleConferenceEvent(pt);         
        } else {
          log.debug("Unknown conference Action [{}]", action);
          System.out.println("Unknown conference Action [" + action + "]");
        }
View Full Code Here

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

   
    recorder.record(room, evt);
  }
 
  private void recordParticipantTalkingEvent(VoiceConferenceEvent event, String room) {
    VoiceUserTalkingEvent pte = (VoiceUserTalkingEvent) event;
 
    ParticipantTalkingVoiceRecordEvent evt = new ParticipantTalkingVoiceRecordEvent();
    evt.setMeetingId(room);
    evt.setTimestamp(genTimestamp());
    evt.setBridge(event.getRoom());
    evt.setParticipant(((VoiceUserTalkingEvent)event).getUserId().toString());
    evt.setTalking(pte.isTalking());
   
    recorder.record(room, evt);
  }
View Full Code Here

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

        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.