Merge branch 'development' into LTS_development
# Conflicts: # src/output/output.h # src/output/output_hls.cpp
This commit is contained in:
commit
3cb5774822
2 changed files with 9 additions and 4 deletions
|
@ -87,11 +87,8 @@ namespace Mist {
|
|||
std::string hostLookup(std::string ip);
|
||||
bool onList(std::string ip, std::string list);
|
||||
std::string getCountry(std::string ip);
|
||||
/*LTS-END*/
|
||||
void doSync(bool force = false);
|
||||
inline bool keepGoing(){
|
||||
return config->is_active && myConn;
|
||||
}
|
||||
/*LTS-END*/
|
||||
std::map<unsigned long, unsigned int> currKeyOpen;
|
||||
void loadPageForKey(long unsigned int trackId, long long int keyNum);
|
||||
int pageNumForKey(long unsigned int trackId, long long int keyNum);
|
||||
|
@ -141,6 +138,9 @@ namespace Mist {
|
|||
void bufferLivePacket(const DTSC::Packet & packet);
|
||||
uint64_t firstPacketTime;
|
||||
uint64_t lastPacketTime;
|
||||
inline bool keepGoing(){
|
||||
return config->is_active && myConn;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -340,6 +340,11 @@ namespace Mist {
|
|||
}
|
||||
|
||||
initialize();
|
||||
|
||||
if (!keepGoing()){
|
||||
return;
|
||||
}
|
||||
|
||||
if (H.url.substr(5 + streamName.size(), 5) == "/push"){
|
||||
std::string relPushUrl = H.url.substr(10 + streamName.size());
|
||||
H.Clean();
|
||||
|
|
Loading…
Add table
Reference in a new issue