Fixed RTMP push failing if wait time too long.

This commit is contained in:
Thulinma 2016-06-06 16:30:52 +02:00
parent fcd11f44c4
commit 1818aca35b

View file

@ -40,7 +40,7 @@ namespace Mist {
streamOut = streamName; streamOut = streamName;
} }
} }
initialize();
INFO_MSG("About to push stream %s out. Host: %s, port: %d, app: %s, stream: %s", streamName.c_str(), host.c_str(), port, app.c_str(), streamOut.c_str()); INFO_MSG("About to push stream %s out. Host: %s, port: %d, app: %s, stream: %s", streamName.c_str(), host.c_str(), port, app.c_str(), streamOut.c_str());
myConn = Socket::Connection(host, port, false); myConn = Socket::Connection(host, port, false);
if (!myConn){ if (!myConn){