Abstract base class for a Simple API for a Streamer. More...
#include <RTSPSimpleStreamer.hh>
Public Member Functions | |
RTSPSimpleStreamer (AbstractFile &driver, int granularity=1000) | |
RTSPSimpleStreamer (AbstractFile *driver, int granularity=1000) | |
virtual RTSPSimpleStreamerConfig | defaultConfig () |
virtual bool | begin (RTSPSimpleStreamerConfig config) |
virtual bool | play ()=0 |
virtual void | doEventLoop () |
calls the scheduler's event loop - does not return! | |
virtual void | singleStep (unsigned delay=0) |
execute singleStep for ARDUINO loop() | |
virtual const char * | hostName () |
Protected Member Functions | |
virtual bool | setupFileFormat ()=0 |
assign source and sink (creats rtcpInstance) | |
virtual bool | setupServer () |
virtual void | startWifi () |
Starts the Wifi if necessary and possible. | |
virtual void | startmDNS () |
Stars the mDNS server. | |
Static Protected Member Functions | |
static void | afterPlaying (void *ptr) |
static callback method | |
Protected Attributes | |
RTSPSimpleStreamerConfig | cfg |
UsageEnvironment * | env = nullptr |
RTPSink * | sink = nullptr |
RTCPInstance * | rtcpInstance = nullptr |
Groupsock * | rtpGroupsock = nullptr |
Groupsock * | rtcpGroupsock = nullptr |
RTSPServer * | rtspServer = nullptr |
MediaSource * | source = nullptr |
unsigned char | CNAME [MAX_CNAME_LEN+1] = {0} |
Abstract base class for a Simple API for a Streamer.