Fixed streams not deactivating with history still available.

This commit is contained in:
Thulinma 2016-05-20 09:37:45 +02:00
parent 6010d8bbfe
commit 303cc5684a

View file

@ -655,7 +655,7 @@ void Controller::parseStatistics(char * data, size_t len, unsigned int id){
sessions[idx].finish(id);
connToSession.erase(id);
}else{
if (sessions[idx].getSessType() != SESS_OUTPUT){
if (sessions[idx].getSessType() != SESS_OUTPUT && sessions[idx].getSessType() != SESS_UNSET){
std::string strmName = tmpEx.streamName();
if (strmName.size()){
if (!activeStreams.count(strmName)){