Correctly initialize isPushing value for RTMP

This commit is contained in:
Thulinma 2016-07-20 23:59:54 +02:00
parent a9dffb9438
commit ec7f7f5bc4

View file

@ -9,6 +9,7 @@
namespace Mist {
OutRTMP::OutRTMP(Socket::Connection & conn) : Output(conn) {
isPushing = false;
setBlocking(true);
while (!conn.Received().available(1537) && conn.connected() && config->is_active) {
conn.spool();