added pid/timeout/kill functionality to stats

# Conflicts:
#	src/output/output_rtmp.cpp
This commit is contained in:
Thulinma 2015-03-03 11:33:52 +01:00
parent c17ba4e383
commit 35ddc79c1a
2 changed files with 3 additions and 3 deletions

View file

@ -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){

View file

@ -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();