We no longer care about not being able to connect to the monitor.

This commit is contained in:
Isaac Connor 2020-09-02 16:37:11 -04:00
parent ea3fcb16a6
commit 3a9cec8e4d
1 changed files with 1 additions and 8 deletions

View File

@ -253,14 +253,7 @@ int main(int argc, const char *argv[]) {
stream.setStreamTTL(ttl); stream.setStreamTTL(ttl);
stream.setStreamQueue(connkey); stream.setStreamQueue(connkey);
stream.setStreamBuffer(playback_buffer); stream.setStreamBuffer(playback_buffer);
if ( !stream.setStreamStart(monitor_id) ) { 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;
}
if ( mode == ZMS_JPEG ) { if ( mode == ZMS_JPEG ) {
stream.setStreamType(MonitorStream::STREAM_JPEG); stream.setStreamType(MonitorStream::STREAM_JPEG);