1 #ifndef _HTTPTSSTREAMHANDLER_H_ 2 #define _HTTPTSSTREAMHANDLER_H_ 10 #include <QNetworkAccessManager> 11 #include <QNetworkRequest> 12 #include <QNetworkReply> 29 void run(
void)
override;
48 bool DownloadStream(
const QUrl& url);
62 QNetworkReply *m_reply {
nullptr};
66 uint8_t *m_buffer {
nullptr};
71 #endif // _HTTPTSSTREAMHANDLER_H_
static QMap< QString, HTTPTSStreamHandler * > s_httphandlers
static QMutex s_httphandlers_lock
static QMap< QString, uint > s_httphandlers_refcnt
QNetworkAccessManager m_mgr
HTTPReader(HTTPTSStreamHandler *parent)