spyserver source bugfix

This commit is contained in:
Ryzerth 2021-07-19 16:20:01 +02:00
parent 027297933b
commit 3103d2d168
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,3 @@
#pragma once
#include <utils/networking.h>
#include <assert.h>

View File

@ -25,10 +25,12 @@ namespace spyserver {
}
void SpyServerClientClass::startStream() {
output->clearWriteStop();
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, true);
}
void SpyServerClientClass::stopStream() {
output->stopWriter();
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, false);
}