mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-13 11:47:13 +01:00
spyserver source bugfix
This commit is contained in:
parent
027297933b
commit
3103d2d168
@ -1,4 +1,3 @@
|
|||||||
#pragma once
|
|
||||||
#include <utils/networking.h>
|
#include <utils/networking.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
@ -25,10 +25,12 @@ namespace spyserver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SpyServerClientClass::startStream() {
|
void SpyServerClientClass::startStream() {
|
||||||
|
output->clearWriteStop();
|
||||||
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, true);
|
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpyServerClientClass::stopStream() {
|
void SpyServerClientClass::stopStream() {
|
||||||
|
output->stopWriter();
|
||||||
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, false);
|
setSetting(SPYSERVER_SETTING_STREAMING_ENABLED, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user