Various TS improvements
This commit is contained in:
parent
3d26741148
commit
1fff195f77
7 changed files with 110 additions and 84 deletions
|
@ -124,7 +124,7 @@ namespace Mist{
|
|||
|
||||
std::set<size_t> getSupportedTracks(const std::string &type = "") const;
|
||||
|
||||
inline bool keepGoing(){return config->is_active && myConn;}
|
||||
inline virtual bool keepGoing(){return config->is_active && myConn;}
|
||||
|
||||
Comms::Statistics statComm;
|
||||
bool isBlocking; ///< If true, indicates that myConn is blocking.
|
||||
|
|
|
@ -20,6 +20,11 @@ namespace Mist{
|
|||
Socket::UDPConnection pushSock;
|
||||
TS::Stream tsIn;
|
||||
std::string getStatsName();
|
||||
|
||||
protected:
|
||||
inline virtual bool keepGoing(){
|
||||
return config->is_active && (!listenMode() || myConn);
|
||||
}
|
||||
};
|
||||
}// namespace Mist
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue