The prefix "mid-" simply means "in the middle of". So, "midstream" literally means "in the middle of a stream".