Hi. I'm using a SUNBA 3MP 405 20x IP PTZ Camera to livestream church services via OBS Studio. Both computer and camera are on the same local network and the video feed comes in via RTSP - this works fine. Currently I have to use an external program to control the movement of the camera and would really like to use this plug-in so that I can control everything in OBS. Looking through all the helpful posts and videos, it appears that I need to use "Visca over IP" but when I try to connect to my camera, this option does not appear in the plug-in. Does it need to be enabled in some way? I have OBS Studio 29.1.3 (64 bit) and the OBS PTZ controls plug-in 0.15.4; the computer is Windows 11. All help appreciated. Thanks
I'm going to state the obvious to start since I don't know what you've already tried. You need to:
A) log in to the camera itself (browser or SUNBA utility) and enable your camera(s) to receive VISCA over IP.
B) Once you've done that, you then set the send protocol of VISCA in the PTZ Controls plugin on a per camera basis. Open the plugin and click the little gear icon in the bottom left to open the "PTZ Device Settings" window.
Once that window is open, you use the + in the bottom left to add cameras to talk to the same way you add scenes and sources.
For me, I added each camera as a source ahead of time as a VLC Video Source to be used in scenes. For my brand of camera, Vaddio, this means that they use their IP address and a streaming port of 554. For receiving VISCA commands, you need to set a different port in the plugin. That port is 52381
Now you've set the streaming IP and port and the instruction receiving port and the last thing to determine is what method your camera(s) like to receive instructions in. I've seen many posts here refer to sending in TCP. I initially thought my cameras weren't supported until I ran out of options and added it as a UDP method of sending instructions. Now they just work.
In short:
1. Login to your camera(s) and set them to work with VISCA over IP
2. Add your camera(s) as a source in OBS (I used VLC Video Source)
3. Open the PTZ Controls plugin and click the gear icon in the bottom left
4. Add your cameras to the control sending list with the + sign in the bottom left
5. Choose your instruction protocol (VISCA Serial/UDP/TCP or Pelco D/P) and then choose the Source (your camera(s) and ensure the IP address is correct and set the TCP port to 52381 - Click Apply
6. Now your camera should appear in a list under the directional/zoom controls in the plugin and you can select it and control it assuming you're using a protocol that your camera recognizes