mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-20 20:46:16 +02:00
Streaming clients can connect via Websockets
This commit is contained in:
parent
5723791f8a
commit
01ce9a60c0
19 changed files with 789 additions and 356 deletions
|
@ -54,7 +54,9 @@ public:
|
|||
void send(const std::string& message, const ControlSession* excludeSession = nullptr);
|
||||
|
||||
/// Clients call this when they receive a message. Implementation of MessageReceiver::onMessageReceived
|
||||
std::string onMessageReceived(ControlSession* connection, const std::string& message) override;
|
||||
std::string onMessageReceived(ControlSession* session, const std::string& message) override;
|
||||
void onNewSession(const std::shared_ptr<ControlSession>& session) override;
|
||||
void onNewSession(const std::shared_ptr<StreamSession>& session) override;
|
||||
|
||||
private:
|
||||
void startAccept();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue