ViscaControllerPtz is a simple application for controlling PTZ (Pan-Tilt-Zoom) cameras using the VISCA protocol. It provides a user-friendly interface to send commands to PTZ cameras connected via serial port.
- Control PTZ cameras via serial port using the VISCA protocol.
- Supports commands for pan, tilt, zoom, presets.
- WebSocket server integration for remote control capability.
- Save and load settings for easy configuration.
To use ViscaControllerPtz, follow these steps:
- Download: Clone this repository.
- Build: If you prefer to build the application yourself, open the solution in Visual Studio and build the project.
- Connect: Connect your PTZ camera to the computer using a serial port.
- Configure: Run the application and configure the serial port settings and other options as needed.
- Control: Use the buttons in the UI to control your PTZ camera or integrate with the WebSocket server for remote control.
Note: The application is also available as a precompiled executable in the Releases page.
- Windows operating system
- .NET Framework
If you want to use ViscaControllerPtz with OBS Studio for streaming or recording, follow these additional steps:
- Open OBS Studio: Start OBS Studio and add a new "Browser" source to your scene.
- Set URL: Set the URL of the browser source to
http://localhost:8080/
. - Position and Size: Adjust the position and size of the browser source to fit your layout.
Note: The web page served by the application runs on port
8080
, and the WebSocket server runs on port8081
.
This application is optimized for use with the CONFERENCE Mini PTZ 20X HDMI | USB 2.0 camera. While it may work with other PTZ cameras, it has not been extensively tested with them.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- WebSocketSharp - WebSocket library for C#