}
@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 + "]");
}