Arduino DLNA Server
Protected Member Functions | Protected Attributes | List of all members
tiny_dlna::MediaRenderer Class Reference

MediaRenderer DLNA Device. More...

#include <MediaRenderer.h>

Inheritance diagram for tiny_dlna::MediaRenderer:
Inheritance graph
[legend]
Collaboration diagram for tiny_dlna::MediaRenderer:
Collaboration graph
[legend]

Protected Member Functions

void setupServices (DLNADevice &device) override
 
- Protected Member Functions inherited from tiny_dlna::DLNADeviceMgr
void setDevice (DLNADevice &device)
 
bool setupParser ()
 
bool setupScheduler ()
 Schedule PostAlive messages. More...
 
virtual bool setupDLNAServer (HttpServer &srv)
 set up Web Server to handle Service Addresses More...
 

Protected Attributes

const char * st = "urn:schemas-upnp-org:device:MediaRenderer:1"
 
const char * usn = "uuid:09349455-2941-4cf7-9847-1dd5ab210e97"
 
- Protected Attributes inherited from tiny_dlna::DLNADeviceMgr
Scheduler scheduler
 
DLNADeviceRequestParser parser
 
IUDPServicep_udp = nullptr
 
DLNADevicep_device = nullptr
 
HttpServerp_server = nullptr
 
bool is_active = false
 
bool scheduler_active = true
 
uint32_t post_alive_repeat_ms = 0
 

Additional Inherited Members

- Public Member Functions inherited from tiny_dlna::DLNADeviceMgr
bool begin (DLNADevice &device, IUDPService &udp, HttpServer &server)
 start the More...
 
void end ()
 Stops the processing and releases the resources. More...
 
bool loop ()
 call this method in the Arduino loop as often as possible More...
 
DLNAServiceInfo getService (const char *id)
 Provide addess to the service information. More...
 
DLNADevicegetDevice ()
 Provides the device. More...
 
void setSchedulerActive (bool flag)
 We can activate/deactivate the scheduler. More...
 
bool isSchedulerActive ()
 Checks if the scheduler is active. More...
 
void setPostAliveRepeatMs (uint32_t ms)
 
- Static Protected Member Functions inherited from tiny_dlna::DLNADeviceMgr
static void deviceXMLCallback (HttpServer *server, const char *requestPath, HttpRequestHandlerLine *hl)
 callback to provide device XML More...
 

Detailed Description

MediaRenderer DLNA Device.

Author
Phil Schatzmann

Member Function Documentation

◆ setupServices()

void tiny_dlna::MediaRenderer::setupServices ( DLNADevice deviceInfo)
inlineoverrideprotectedvirtual

If you dont already provid a complete DLNADevice you can overwrite this method and add some custom device specific logic to implement a new device. The MediaRenderer is using this approach!

Reimplemented from tiny_dlna::DLNADeviceMgr.

Member Data Documentation

◆ st

const char* tiny_dlna::MediaRenderer::st = "urn:schemas-upnp-org:device:MediaRenderer:1"
protected

◆ usn

const char* tiny_dlna::MediaRenderer::usn = "uuid:09349455-2941-4cf7-9847-1dd5ab210e97"
protected

The documentation for this class was generated from the following file: