Package org.openmeetings.app.persistence.beans.recording

Examples of org.openmeetings.app.persistence.beans.recording.RecordingClient


                  }
                  roomRecording.getRoomStreams().add(roomStream);
                }
   
                //add room Clients enter/leave Events to record File
                RecordingClient roomClient = new RecordingClient();
                roomClient.setRemoteAdress(remoteAdress);
                roomClient.setRoomenter(true);
                roomClient.setStartdate(startDate);
                roomClient.setStarttime(0L);
                roomClient.setRcl(rcl);
                if (roomRecording.getRoomClients() == null) {
                  roomRecording.setRoomClients(new LinkedList<RecordingClient>());
                }
                roomRecording.getRoomClients().add(roomClient);
              }
View Full Code Here


      Long roomRecordingId = RoomRecordingDaoImpl.getInstance().addRoomRecording(roomRecording);
      RoomRecording roomRecordingRemote = RoomRecordingDaoImpl.getInstance().getRoomRecordingById(roomRecordingId);
     
      //Store all RoomRecordingClients
      for (Iterator<RecordingClient> iter = roomRecording.getRoomClients().iterator();iter.hasNext();) {
        RecordingClient recordingClient = iter.next();
        recordingClient.setRoomRecordingId(roomRecordingId);
        RecordingClientDaoImpl.getInstance().addRecordingClient(recordingClient);
      }
     
      //Store all Whiteboard Events
      for (WhiteBoardEvent whiteBoardEvent : roomRecording.getWhiteboard()) {
View Full Code Here

    try {
      RoomRecording roomRecording = roomRecordingList.get(roomrecordingName);
      Date recordingsStartTime = roomRecording.getStarttime();
      Date currentDate = new Date();
     
      RecordingClient roomClient = new RecordingClient();           
      roomClient.setRemoteAdress(remoteAdress);
      roomClient.setRoomenter(enter);
      roomClient.setStartdate(currentDate);
      roomClient.setStarttime(currentDate.getTime()-recordingsStartTime.getTime());
//     
//      if (!enter) {
//        log.debug("###### NEW USER1: "+rcl.getBroadCastID());
//        log.debug("###### NEW USER2: "+rcl.getConnectedSince());
//        log.debug("###### NEW USER3: "+rcl.getPublicSID());
//        log.debug("###### NEW USER4: "+rcl.getUserip());
//      }
      roomClient.setRcl(rcl);
     
      roomRecording.getRoomClients().add(roomClient);
      roomRecordingList.put(roomrecordingName, roomRecording);     
    } catch (Exception err) {
      log.error("[addRoomClientEnterEvent]",err);
View Full Code Here

TOP

Related Classes of org.openmeetings.app.persistence.beans.recording.RecordingClient

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.