Consider the
Amcrest IP2M-841, a re-branded Dahua. It is ONVIF compatible, provides RTSP, is 1080p, IR, 2-way audio plus mike in/speaker out, has pan/tilt/digital zoom, record to micro SD card, wired or wireless and has alarm in/out, great with
Blue Iris, VLC, etc. Comes with wall/ceiling mount, 1/4"-20 tripod mount female insert on bottom. Available in black or white for under $40 !
I've installed 4 of the V2 versions and 3 of it's lower-res (720p) cousins in the last 4 years and all have functioned with no hiccups.
I currently use 3 of them with Blue Iris; 1 on front porch to look at deliveries, 1 in garage and 1 in sunroom to watch the dogs; one of the 2 is operating on Wi-Fi. I have also set one up with Tinycam Pro on a Sony smart TV (Android).
VERY hard to beat for $40, IMO.