Cameras like PTZ Optics or similar can be connected to OBS using the RTSP protocol.
In the PTZ optics cameras, there is an RTSP protocol enabled.
If you want to connect your cameras via the network, you can use this method:
By default, it uses port 554
Make sure that RTSP is enabled and changes applied
Create a media source in OBS
DESELECT "LocalFile"
DESELECT "Restart Playback when source become available"
and put in the following information in the "INPUT" box
rtsp://CamerIP:554/1
Select "OK"
Wait a couple of seconds, the video should show up. , there is a network delay in this video, so unless all your cameras use the same methodology it may or may not be the right solution for you.