Package org.red5.server.api.session

Examples of org.red5.server.api.session.ISession.reset()


         
          try {
            IVideoStreamCodec videoStreamCodec = new ScreenVideo();
            streamCodecInfo.setHasVideo(true);
            streamCodecInfo.setVideoCodec(videoStreamCodec);
            videoStreamCodec.reset();
            videoStreamCodec.addData(((VideoData) rtmpEvent).getData());
            livePipe.pushMessage(msg);

            // Notify listeners about received packet
            if (rtmpEvent instanceof IStreamPacket) {
View Full Code Here


            // check if session life exceeds max lifetime
            if (now - creationTime > SessionManager.maxLifetime) {
              String key = session.getSessionId();
              log.info("Reaper killing stale session: {}", key);
              sessions.remove(key);
              session.reset();
              session = null;
            }
          }
        }
      }
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.