예제 #1
0
 public IOPipeLine(Socket socket, RtmpServerOptions options, int resumeWriterThreshole = 65535)
 {
     _socket = socket;
     _resumeWriterThreshole = resumeWriterThreshole;
     _bufferProcessors      = new Dictionary <ProcessState, BufferProcessor>();
     Options           = options;
     _handshakeContext = new HandshakeContext(this);
 }
예제 #2
0
 internal void OnHandshakeSuccessful()
 {
     _handshakeContext = null;
     _bufferProcessors.Clear();
     ChunkStreamContext = new ChunkStreamContext(this);
 }