I'd say most are hosted first, Milestone, Genetec, Avigilon, etc. They all sell software to host feeds from your own standardized cams (Axis, Hanwah, Samsung, etc) via h.264/mpeg. The cloud hosted CCTV at scale is relatively recent.