add GStreamer

This commit is contained in:
Maik Jurischka
2025-12-12 11:43:15 +01:00
parent fe0af4dc64
commit 212a9ec64c
9 changed files with 606 additions and 26 deletions

View File

@@ -73,6 +73,8 @@ int main() {
std::cout << "\nVizion Streamer is running." << std::endl;
std::cout << "Control socket: " << socketPath << std::endl;
std::cout << "Default GStreamer pipeline: videoconvert ! autovideosink" << std::endl;
std::cout << "Use socket commands to start streaming and configure pipeline.\n" << std::endl;
std::cout << "Press Ctrl+C to exit.\n" << std::endl;
// Main loop - keep running until signaled to stop
@@ -82,6 +84,12 @@ int main() {
// Cleanup
std::cout << "Shutting down..." << std::endl;
// Stop streaming engine if running
if (controller->getStreamingEngine()->isRunning()) {
controller->getStreamingEngine()->stop();
}
server.stop();
VxClose(cam);