protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { RtmpSession.ChunkStreamDestroyed(this); } disposedValue = true; } }
internal RtmpChunkStream(RtmpSession rtmpSession) { RtmpSession = rtmpSession; ChunkStreamId = rtmpSession.MakeUniqueChunkStreamId(); }
internal RtmpChunkStream(RtmpSession rtmpSession, uint chunkStreamId) { ChunkStreamId = chunkStreamId; RtmpSession = rtmpSession; }
internal RtmpMessageStream(RtmpSession rtmpSession) { MessageStreamId = rtmpSession.MakeUniqueMessageStreamId(); RtmpSession = rtmpSession; }
internal RtmpMessageStream(RtmpSession rtmpSession, uint messageStreamId) { MessageStreamId = messageStreamId; RtmpSession = rtmpSession; }
internal RtmpControlMessageStream(RtmpSession rtmpSession) : base(rtmpSession, CONTROL_MSID) { }
internal RtmpControlChunkStream(RtmpSession rtmpSession) : base() { ChunkStreamId = CONTROL_CSID; RtmpSession = rtmpSession; }