Go to the documentation of this file. 1 #ifndef HTTPTSSTREAMHANDLER_H
2 #define HTTPTSSTREAMHANDLER_H
9 #include <QNetworkAccessManager>
10 #include <QNetworkRequest>
11 #include <QNetworkReply>
28 void run(
void)
override;
47 bool DownloadStream(
const QUrl& url);
61 QNetworkReply *m_reply {
nullptr};
65 uint8_t *m_buffer {
nullptr};
70 #endif // HTTPTSSTREAMHANDLER_H
~HTTPTSStreamHandler(void) override
static QMap< QString, HTTPTSStreamHandler * > s_httphandlers
static QMap< QString, uint > s_httphandlers_refcnt
HTTPReader(HTTPTSStreamHandler *parent)
QNetworkAccessManager m_mgr
static HTTPTSStreamHandler * Get(const IPTVTuningData &tuning, int inputid)
static void Return(HTTPTSStreamHandler *&ref, int inputid)
HTTPTSStreamHandler(const IPTVTuningData &tuning, int inputid)
static QMutex s_httphandlers_lock
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.