Exemple #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    RtmpSession.ChunkStreamDestroyed(this);
                }

                disposedValue = true;
            }
        }
Exemple #2
0
 internal RtmpChunkStream(RtmpSession rtmpSession)
 {
     RtmpSession   = rtmpSession;
     ChunkStreamId = rtmpSession.MakeUniqueChunkStreamId();
 }
Exemple #3
0
 internal RtmpChunkStream(RtmpSession rtmpSession, uint chunkStreamId)
 {
     ChunkStreamId = chunkStreamId;
     RtmpSession   = rtmpSession;
 }
Exemple #4
0
 internal RtmpMessageStream(RtmpSession rtmpSession)
 {
     MessageStreamId = rtmpSession.MakeUniqueMessageStreamId();
     RtmpSession     = rtmpSession;
 }
Exemple #5
0
 internal RtmpMessageStream(RtmpSession rtmpSession, uint messageStreamId)
 {
     MessageStreamId = messageStreamId;
     RtmpSession     = rtmpSession;
 }
Exemple #6
0
 internal RtmpControlMessageStream(RtmpSession rtmpSession) : base(rtmpSession, CONTROL_MSID)
 {
 }
Exemple #7
0
 internal RtmpControlChunkStream(RtmpSession rtmpSession) : base()
 {
     ChunkStreamId = CONTROL_CSID;
     RtmpSession   = rtmpSession;
 }