Esempio n. 1
0
 public RtmptConnection(RtmptServer rtmptServer, IPEndPoint ipEndPoint, string path, Hashtable parameters)
     : base(rtmptServer.RtmpHandler, RtmpMode.Server, path, parameters)
 {
     _lock           = new FastReaderWriterLock();
     _remoteEndPoint = ipEndPoint;
     _rtmptServer    = rtmptServer;
     _readBytes      = new AtomicLong();
     _writtenBytes   = new AtomicLong();
     _session        = rtmptServer.Endpoint.GetMessageBroker().SessionManager.CreateSession(this);
 }
Esempio n. 2
0
 public RtmptConnection(RtmptServer rtmptServer, IPEndPoint ipEndPoint, string path, Hashtable parameters)
     : base(rtmptServer.RtmpHandler, RtmpMode.Server, path, parameters)
 {
     _lock = new FastReaderWriterLock();
     _remoteEndPoint = ipEndPoint;
     _rtmptServer = rtmptServer;
     _readBytes = new AtomicLong();
     _writtenBytes = new AtomicLong();
     _session = rtmptServer.Endpoint.GetMessageBroker().SessionManager.CreateSession(this);
 }
Esempio n. 3
0
 public override void Start()
 {
     _rtmptServer = new RtmptServer(this);
 }