We no longer care about not being able to connect to the monitor.
This commit is contained in:
parent
ea3fcb16a6
commit
3a9cec8e4d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue