Ah, super cheap security camera being used in a way it is not designed for
And have you matched the camera output resolution and frame rate? or is that a cheap 15fps camera, having to be adjusted to your screen and or stream fps?
Does the camera have NDI output, or are your doing something to capture RTSP, or a web page scrape, or a HTML H.264 feed, or ??
Realize the camera has to process and compress the video, then send it, your computer to uncompress the video, process and display it. hopefully you aren't making the situation worse by using WiFi anywhere between camera and OBS PC
And a cheap camera is going to have a lower end processing ability (and usually firmware quality that is lacking, or at least not optimized for your use case)
And then is your computer powerful enough for BOTH real-time video encoding, and the stream decoding from the camera? plus whatever else it is doing? my point is that there are lots of considerations
I'd recommend you start with researching the camera and its video output, and how to optimize that for live video as you are using it. I would recommend against posting that in this thread, as you subject line and that question are different. If you desired OBS user input, To get the most response, a dedicated post/question on video protocol would make more sense after you do your research. Determine what the camera offers, and research feedback, best practices related to those protocol options. Something like the camera having its own web page, and you are doing something like a window capture of a browser pointed at the video feed is going to be the worst resolution/image clarity and poor latency
Good luck