Further fixes and optimizes to RTMP and generic output.
This commit is contained in:
parent
6f5f3b37c2
commit
407d2e344d
2 changed files with 10 additions and 3 deletions
|
@ -487,6 +487,14 @@ namespace Mist {
|
|||
statsPage.keepAlive();
|
||||
}
|
||||
int tNum = 0;
|
||||
if (!playerConn.getData()){
|
||||
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
||||
if (!playerConn.getData()){
|
||||
DEBUG_MSG(DLVL_WARN, "Player connection failure - aborting output");
|
||||
myConn.close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (std::set<unsigned long>::iterator it = selectedTracks.begin(); it != selectedTracks.end() && tNum < 5; it++){
|
||||
char thisData[6];
|
||||
thisData[0] = ((*it >> 24) & 0xFF);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue