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

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


                Date startDate = new Date();
               
                //add streamings to record File
                if (!conferenceType.equals("audience") || rcl.getIsMod()){
                 
                  RoomStream roomStream = new RoomStream();
                 
                  String streamName = generateFileName(Long.valueOf(rcl.getBroadCastID()).toString());
                 
                  //if the user does publish av, a, v
                  if (!rcl.getAvsettings().equals("n")){ 
                    recordShow(conn, rcl.getBroadCastID(), streamName);
                  }
                 
                  roomStream.setStreamName(streamName);
                  //stream starting
                  roomStream.setStreamstart(true);
                  //is not only a avset-event
                  roomStream.setAvset(false);
                  roomStream.setRemoteAdress(remoteAdress);
                  roomStream.setStartdate(startDate);
                  roomStream.setStarttime(0L);
                  roomStream.setRcl(rcl);
                 
                  if (roomRecording.getRoomStreams() == null) {
                    roomRecording.setRoomStreams(new LinkedList<RoomStream>());
                  }
                  roomRecording.getRoomStreams().add(roomStream);
View Full Code Here


     
      RoomRecording roomRecording = roomRecordingList.get(roomrecordingName);
      Date recordingsStartTime = roomRecording.getStarttime();
      Date currentDate = new Date();
     
      RoomStream roomStream = new RoomStream();
      roomStream.setStreamName("");
      roomStream.setStreamstart(false);
      roomStream.setAvset(false);
      roomStream.setRemoteAdress(conn.getRemoteAddress());
      roomStream.setStartdate(currentDate);
      roomStream.setStarttime(currentDate.getTime()-recordingsStartTime.getTime());
      roomStream.setRcl(rcl);
     
      roomRecording.getRoomStreams().add(roomStream);
      roomRecordingList.put(roomrecordingName, roomRecording);

      if ((rcl.getAvsettings().equals("a") || rcl.getAvsettings().equals("v")
View Full Code Here

        if (!rcl.getAvsettings().equals("n")){
          //log.debug("Record Show");
          recordShow(conn, rcl.getBroadCastID(), streamName);
        }
       
        RoomStream roomStream = new RoomStream();
        roomStream.setStreamName(streamName);
        //this is a recording event
        roomStream.setStreamstart(true);
        //this is not an av event
        roomStream.setAvset(true);
        roomStream.setRemoteAdress(remoteAdress);
        roomStream.setStartdate(new java.util.Date());
        roomStream.setStarttime(currentDate.getTime()-recordingsStartTime.getTime());
        roomStream.setRcl(rcl);
       
        roomRecording.getRoomStreams().add(roomStream);
        roomRecordingList.put(roomrecordingName, roomRecording);
      }
    } catch (Exception err) {
View Full Code Here

      RoomRecording roomRecording = roomRecordingList.get(roomrecordingName);
      Date recordingsStartTime = roomRecording.getStarttime();
      Date currentDate = new Date();
      List<RoomStream> roomStreams = roomRecording.getRoomStreams();
     
      RoomStream roomStream = new RoomStream();
      roomStream.setStreamName("");
      roomStream.setStreamstart(false);
      roomStream.setAvset(true);
      roomStream.setRemoteAdress(remoteAdress);
      roomStream.setStartdate(currentDate);
      roomStream.setStarttime(currentDate.getTime()-recordingsStartTime.getTime());
      roomStream.setRcl(rcl);
     
      roomRecording.getRoomStreams().add(roomStream);
      roomRecordingList.put(roomrecordingName, roomRecording);     
    } catch (Exception err) {
      log.error("[addRoomClientAVSetEvent]",err);
View Full Code Here

TOP

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

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.