Ubiquti AirCam cameras are good - the only drawback is the current models don't have IR/Night Vision. They output RTSP upto 720p (as opposed to MJPEG which IMO is a PITA) bila shida, and this can be scaled downwards depending on your bandwidth/quality requirements. They can run stand-alone - with their inbuilt web-based software - or you can connect them to a windows/mac/ubuntu server for NDVR functionality.