Added DTSC::Stream::waitForPause() function to sync streams, fixed various MistPlayer misbehaviours.

This commit is contained in:
Thulinma 2014-02-12 15:31:06 +01:00
parent 1e8c394b95
commit e8f973b2e7
2 changed files with 67 additions and 26 deletions

View file

@ -301,7 +301,8 @@ namespace DTSC {
DTSC::livePos getNext(DTSC::livePos & pos, std::set<int> & allowedTracks);
void endStream();
void waitForMeta(Socket::Connection & sourceSocket);
protected:
void waitForPause(Socket::Connection & sourceSocket);
protected:
void cutOneBuffer();
void resetStream();
std::map<livePos,JSON::Value> buffers;