mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-24 14:36:15 +02:00
Add client support for websockets
This commit is contained in:
parent
9fbf273caa
commit
6c02252d84
13 changed files with 393 additions and 118 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -43,9 +43,12 @@ using namespace std::chrono_literals;
|
|||
class Controller
|
||||
{
|
||||
public:
|
||||
/// c'tor
|
||||
Controller(boost::asio::io_context& io_context, const ClientSettings& settings); //, std::unique_ptr<MetadataAdapter> meta);
|
||||
/// Start thw work
|
||||
void start();
|
||||
// void stop();
|
||||
/// @return list of supported audio backends
|
||||
static std::vector<std::string> getSupportedPlayerNames();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue