Streaming clients can connect via Websockets

This commit is contained in:
badaix 2020-07-02 22:26:53 +02:00
parent 5723791f8a
commit 01ce9a60c0
19 changed files with 789 additions and 356 deletions

View file

@ -28,7 +28,7 @@
* Messages are sent to the client with the "send" method.
* Received messages from the client are passed to the ControlMessageReceiver callback
*/
class ControlSessionTcp : public ControlSession, public std::enable_shared_from_this<ControlSession>
class ControlSessionTcp : public ControlSession
{
public:
/// ctor. Received message from the client are passed to MessageReceiver
@ -37,9 +37,6 @@ public:
void start() override;
void stop() override;
/// Sends a message to the client (synchronous)
bool send(const std::string& message) override;
/// Sends a message to the client (asynchronous)
void sendAsync(const std::string& message) override;