added pid/timeout/kill functionality to stats
# Conflicts: # src/output/output_rtmp.cpp
This commit is contained in:
parent
c17ba4e383
commit
35ddc79c1a
2 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ namespace Mist {
|
|||
//after this player functionality
|
||||
metaPage.init(config->getString("streamname"), (isBuffer ? DEFAULT_META_PAGE_SIZE : myMeta.getSendLen()), true);
|
||||
myMeta.writeTo(metaPage.mapped);
|
||||
userPage.init(config->getString("streamname") + "_users", 30, true);
|
||||
userPage.init(config->getString("streamname") + "_users", PLAY_EX_SIZE, true);
|
||||
|
||||
|
||||
if (!isBuffer){
|
||||
|
|
|
@ -247,7 +247,7 @@ namespace Mist {
|
|||
return;
|
||||
}
|
||||
statsPage = IPC::sharedClient("statistics", STAT_EX_SIZE, true);
|
||||
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
||||
playerConn = IPC::sharedClient(streamName + "_users", PLAY_EX_SIZE , true);
|
||||
updateMeta();
|
||||
selectDefaultTracks();
|
||||
sought = false;
|
||||
|
@ -729,7 +729,7 @@ namespace Mist {
|
|||
}
|
||||
int tNum = 0;
|
||||
if (!playerConn.getData()){
|
||||
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
||||
playerConn = IPC::sharedClient(streamName + "_users", PLAY_EX_SIZE, true);
|
||||
if (!playerConn.getData()){
|
||||
DEBUG_MSG(DLVL_WARN, "Player connection failure - aborting output");
|
||||
myConn.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue