Prevent keepalive on non-initialized userClients when negotiating.

This commit is contained in:
Thulinma 2015-07-22 10:27:41 +02:00
parent 27240abd06
commit a1a195b1e7

View file

@ -427,7 +427,9 @@ namespace Mist {
if (!tid) {
return;
}
if (userClient.getData()){
userClient.keepAlive();
}
if (trackMap.count(tid) && !trackState.count(tid)) {
//If the trackmap has been set manually, don't negotiate
HIGH_MSG("TrackMap manual, not negotiating track IDs");