Correctly initialize isPushing value for RTMP
This commit is contained in:
parent
a9dffb9438
commit
ec7f7f5bc4
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
namespace Mist {
|
namespace Mist {
|
||||||
OutRTMP::OutRTMP(Socket::Connection & conn) : Output(conn) {
|
OutRTMP::OutRTMP(Socket::Connection & conn) : Output(conn) {
|
||||||
|
isPushing = false;
|
||||||
setBlocking(true);
|
setBlocking(true);
|
||||||
while (!conn.Received().available(1537) && conn.connected() && config->is_active) {
|
while (!conn.Received().available(1537) && conn.connected() && config->is_active) {
|
||||||
conn.spool();
|
conn.spool();
|
||||||
|
|
Loading…
Add table
Reference in a new issue