remove StreamSession::send

This commit is contained in:
badaix 2019-10-23 09:07:46 +02:00
parent 2f06ebed04
commit b6142967c7
2 changed files with 15 additions and 32 deletions

View file

@ -92,16 +92,11 @@ public:
void start();
void stop();
/// Sends a message to the client (synchronous)
bool send(msg::message_ptr message);
/// Sends a message to the client (asynchronous)
void sendAsync(msg::message_ptr message, bool send_now = false);
/// Sends a message to the client (asynchronous)
void sendAsync(msg::message_ptr message, bool sendNow = false);
/// Sends a message to the client (asynchronous)
// void sendAsync(std::shared_ptr<boost::asio::streambuf> sb);
void sendAsync(shared_const_buffer const_buf);
void sendAsync(shared_const_buffer const_buf, bool send_now = false);
/// Max playout latency. No need to send PCM data that is older than bufferMs
void setBufferMs(size_t bufferMs);