Forwardported some free version changes to Pro.

This commit is contained in:
Thulinma 2016-05-30 16:03:52 +02:00
parent 29f40890e7
commit d048aaccc4
5 changed files with 3 additions and 6 deletions

View file

@ -316,3 +316,4 @@ namespace Controller {
} }
} //Controller namespace } //Controller namespace

View file

@ -15,8 +15,8 @@ namespace Mist {
unsigned int cutTime; unsigned int cutTime;
unsigned int segmentSize; /*LTS*/ unsigned int segmentSize; /*LTS*/
unsigned int lastReTime; /*LTS*/ unsigned int lastReTime; /*LTS*/
bool hasPush; /*LTS*/ bool hasPush;
bool resumeMode; /*LTS*/ bool resumeMode;
protected: protected:
//Private Functions //Private Functions
bool setup(); bool setup();

View file

@ -58,7 +58,6 @@ namespace Mist {
} }
/*LTS-END*/ /*LTS-END*/
bool InOutBase::bufferStart(unsigned long tid, unsigned long pageNumber) { bool InOutBase::bufferStart(unsigned long tid, unsigned long pageNumber) {
VERYHIGH_MSG("bufferStart for stream %s, track %lu, page %lu", streamName.c_str(), tid, pageNumber); VERYHIGH_MSG("bufferStart for stream %s, track %lu, page %lu", streamName.c_str(), tid, pageNumber);
//Initialize the stream metadata if it does not yet exist //Initialize the stream metadata if it does not yet exist

View file

@ -150,8 +150,6 @@ namespace Mist {
isPushing = false; isPushing = false;
} }
OutRTMP::~OutRTMP() {}
bool OutRTMP::listenMode(){ bool OutRTMP::listenMode(){
return !(config->getString("target").size()); return !(config->getString("target").size());
} }

View file

@ -9,7 +9,6 @@ namespace Mist {
class OutRTMP : public Output { class OutRTMP : public Output {
public: public:
OutRTMP(Socket::Connection & conn); OutRTMP(Socket::Connection & conn);
~OutRTMP();
static void init(Util::Config * cfg); static void init(Util::Config * cfg);
void onRequest(); void onRequest();
void sendNext(); void sendNext();