Example #1
0
        public RtmpRecorder(string lvid, CookieContainer container,
                            RecordingManager rm, RecordFromUrl rfu, bool isSub,
                            string[] recFolderFile, IRecorderProcess wr, long openTime)
        {
//			this.getPlayerStatusRes = getPlayerStatusRes;
            this.lvid      = lvid;
            this.container = container;
//			this.cfg = cfg;
            this.rm            = rm;
            this.rfu           = rfu;
            this.isSub         = isSub;
            this.wr            = wr;
            this.openTime      = openTime;
            this.recFolderFile = recFolderFile[1];
            rm.isTitleBarInfo  = bool.Parse(rm.cfg.get("IstitlebarInfo"));
            afterConvertMode   = int.Parse(rm.cfg.get("afterConvertMode"));
        }
Example #2
0
 public XmlCommentGetter_ontime(string lvid,
                                CookieContainer container, RecordingManager rm,
                                RecordFromUrl rfu, string recFolderFile,
                                IRecorderProcess rp, bool isTimeShift, bool isRtmp,
                                long openTime, long _openTime, long serverTime)
 {
     this.lvid            = lvid;
     this.container       = container;
     this.rm              = rm;
     this.rfu             = rfu;
     this.recFolderFile   = recFolderFile;
     this.rp              = rp;
     this.isTimeShift     = isTimeShift;
     this.isRtmp          = isRtmp;
     this.isGetComment    = rm.cfg.get("IsgetComment");
     this.isGetCommentXml = rm.cfg.get("IsgetcommentXml");
     this.openTime        = openTime;
     this._openTime       = _openTime;
     this.serverTime      = serverTime;
 }