MythTV
master
|
#include <mediaserver.h>
Public Member Functions | |
MediaServer () | |
void | Init (bool bIsMaster, bool bDisableUPnp=false) |
~MediaServer () override | |
void | RegisterExtension (UPnpCDSExtension *pExtension) |
void | UnregisterExtension (UPnpCDSExtension *pExtension) |
MediaServer () | |
MediaServer (QUrl URL) | |
bool | ResetContent (int new_id) |
![]() | |
UPnp () | |
~UPnp () override | |
bool | Initialize (int nServicePort, HttpServer *pHttpServer) |
bool | Initialize (QList< QHostAddress > &sIPAddrList, int nServicePort, HttpServer *pHttpServer) |
bool | isInitialized () |
virtual void | Start () |
HttpServer * | GetHttpServer () |
Public Attributes | |
QUrl | m_serverURL |
int | m_connectionAttempts {0} |
QUrl | m_controlURL |
QUrl | m_eventSubURL |
QString | m_eventSubPath |
QString | m_friendlyName |
bool | m_subscribed {false} |
int | m_renewalTimerId {0} |
int | m_systemUpdateID {-1} |
Protected Attributes | |
UPnpCDS * | m_pUPnpCDS {nullptr} |
UPnpCMGR * | m_pUPnpCMGR {nullptr} |
QString | m_sSharePath |
![]() | |
HttpServer * | m_pHttpServer {nullptr} |
int | m_nServicePort {0} |
Private Attributes | |
WebSocketServer * | m_webSocketServer {nullptr} |
Additional Inherited Members | |
![]() | |
static void | DisableNotifications (uint) |
void | EnableNotificatins (qint64) const |
![]() | |
static void | SetConfiguration (Configuration *pConfig) |
static Configuration * | GetConfiguration () |
static void | CleanUp () |
static UPnpDevice * | RootDevice () |
static UPnpDeviceDesc * | GetDeviceDesc (QString &sURL) |
static QString | GetResultDesc (UPnPResultCode eCode) |
static void | FormatErrorResponse (HTTPRequest *pRequest, UPnPResultCode eCode, const QString &sMsg="") |
static void | FormatRedirectResponse (HTTPRequest *pRequest, const QString &hostName) |
![]() | |
static UPnpDeviceDesc | g_UPnpDeviceDesc |
static QList< QHostAddress > | g_IPAddrList |
![]() | |
static Configuration * | g_pConfig = nullptr |
A simple wrapper containing details about a UPnP Media Server
Definition at line 32 of file mediaserver.h.
|
explicit |
Definition at line 51 of file mediaserver.cpp.
|
override |
Definition at line 288 of file mediaserver.cpp.
|
inline |
Definition at line 82 of file upnpscanner.cpp.
|
inlineexplicit |
Definition at line 88 of file upnpscanner.cpp.
Definition at line 69 of file mediaserver.cpp.
Referenced by run_backend().
void MediaServer::RegisterExtension | ( | UPnpCDSExtension * | pExtension | ) |
Definition at line 323 of file mediaserver.cpp.
Referenced by Init().
void MediaServer::UnregisterExtension | ( | UPnpCDSExtension * | pExtension | ) |
Definition at line 332 of file mediaserver.cpp.
|
inline |
Definition at line 95 of file upnpscanner.cpp.
Referenced by UPNPScanner::ParseBrowse().
|
private |
Definition at line 39 of file mediaserver.h.
Referenced by Init(), and ~MediaServer().
|
protected |
Definition at line 43 of file mediaserver.h.
Referenced by Init(), RegisterExtension(), and UnregisterExtension().
|
protected |
Definition at line 44 of file mediaserver.h.
Referenced by Init().
|
protected |
Definition at line 46 of file mediaserver.h.
Referenced by Init().
QUrl MediaServer::m_serverURL |
Definition at line 107 of file upnpscanner.cpp.
int MediaServer::m_connectionAttempts {0} |
Definition at line 108 of file upnpscanner.cpp.
QUrl MediaServer::m_controlURL |
Definition at line 109 of file upnpscanner.cpp.
QUrl MediaServer::m_eventSubURL |
Definition at line 110 of file upnpscanner.cpp.
QString MediaServer::m_eventSubPath |
Definition at line 111 of file upnpscanner.cpp.
QString MediaServer::m_friendlyName |
Definition at line 112 of file upnpscanner.cpp.
Referenced by UPNPScanner::ParseBrowse().
Definition at line 113 of file upnpscanner.cpp.
int MediaServer::m_renewalTimerId {0} |
Definition at line 114 of file upnpscanner.cpp.
Referenced by UPNPScanner::RemoveServer().
int MediaServer::m_systemUpdateID {-1} |
Definition at line 115 of file upnpscanner.cpp.
Referenced by UPNPScanner::ParseBrowse(), and ResetContent().