Revert "fix standby streaming"

This reverts commit 40b42886ef.


Origin commit data
------------------
Commit: 46846cd7f5
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-10-05 (Wed, 05 Oct 2022)
This commit is contained in:
vanhofen
2022-10-05 21:48:04 +02:00
parent 1f9e131a2e
commit 578748ad59

View File

@@ -640,12 +640,13 @@ void CStreamManager::run()
continue;
}
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0);
if (!AddClient(connfd))
{
close(connfd);
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
}
else
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_START, 0);
poll_timeout = 1000;
} else {
if (pfd[i].revents & (POLLHUP | POLLRDHUP)) {