From 3a9cec8e4d686acc2b2aa0e6bc7c3225d7d4d1fb Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 2 Sep 2020 16:37:11 -0400 Subject: [PATCH] We no longer care about not being able to connect to the monitor. --- src/zms.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/zms.cpp b/src/zms.cpp index 015d8fa9c..9d5979828 100644 --- a/src/zms.cpp +++ b/src/zms.cpp @@ -253,14 +253,7 @@ int main(int argc, const char *argv[]) { stream.setStreamTTL(ttl); stream.setStreamQueue(connkey); stream.setStreamBuffer(playback_buffer); - if ( !stream.setStreamStart(monitor_id) ) { - Error("Unable to connect to zmc process for monitor %d", monitor_id); - fprintf(stderr, "Unable to connect to zmc process. " - " Please ensure that it is running."); - logTerm(); - zmDbClose(); - return -1; - } + stream.setStreamStart(monitor_id); if ( mode == ZMS_JPEG ) { stream.setStreamType(MonitorStream::STREAM_JPEG);