move the message type and perfer id to RtmpPacket