mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-23 22:16: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
|
@ -69,11 +69,17 @@ public:
|
|||
|
||||
/// Implementation of ControllMessageReceiver::onMessageReceived, called by ControlServer::onMessageReceived
|
||||
std::string onMessageReceived(ControlSession* connection, const std::string& message) override;
|
||||
// TODO Refactor: ControlServer implements ControlMessageReceiver, calling this one.
|
||||
void onNewSession(const std::shared_ptr<ControlSession>& session) override
|
||||
{
|
||||
std::ignore = session;
|
||||
};
|
||||
void onNewSession(const std::shared_ptr<StreamSession>& session) override;
|
||||
|
||||
/// Implementation of PcmListener
|
||||
void onMetaChanged(const PcmStream* pcmStream) override;
|
||||
void onStateChanged(const PcmStream* pcmStream, const ReaderState& state) override;
|
||||
void onChunkRead(const PcmStream* pcmStream, std::shared_ptr<msg::PcmChunk> chunk, double duration) override;
|
||||
void onNewChunk(const PcmStream* pcmStream, std::shared_ptr<msg::PcmChunk> chunk, double duration) override;
|
||||
void onResync(const PcmStream* pcmStream, double ms) override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue