22 #ifndef STREAMDATASENDER_H
23 #define STREAMDATASENDER_H
35 QTcpSocket* _socket=
nullptr;
36 quint64 _sent_data_bytes;
39 QByteArray _icy_header;
40 QByteArray _reject_header;
42 bool send_icy_metadata(
const QString& stream_title);
49 bool send_data(
const uchar* data, quint64 size);
50 bool send_icy_data(
const uchar* data, quint64 size,
const QString& stream_title);
51 bool send_header(
bool reject,
bool icy);
52 bool send_html5(
const QString& stream_title);
54 bool send_metadata(
const QString& stream_title);
55 bool send_playlist(
const QString& host,
int port);
60 #endif // STREAMDATASENDER_H
The StreamDataSender class. This class is used for sending the raw bytes.
Definition: StreamDataSender.h:31