public RTMPMessage(RTMPConnection connection, RTMPMessageHeader header, RTMPMessageBody body) { Connection = connection; Header = header; header.ParentMessage = this; Body = body; body.ParentMessage = this; }
private RTMPMessage ReceiveNextMessage() { RTMPMessageHeader header = new RTMPMessageHeader(this, br); RTMPMessageBody body = new RTMPMessageBody(this, header, br); RTMPMessage newmessage = new RTMPMessage(this, header, body); RTMPChunkStream csinfo = GetChunkStream((int)header.ChunkStreamID); return(csinfo.AddFragment(newmessage)); }
public RTMPMessage(RTMPConnection connection) { Connection = connection; Header = new RTMPMessageHeader(this); Body = new RTMPMessageBody(this); }