Arduino live555
All Classes Functions Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
RTSPSimpleStreamer Class Referenceabstract

Abstract base class for a Simple API for a Streamer. More...

#include <RTSPSimpleStreamer.hh>

Inheritance diagram for RTSPSimpleStreamer:
SimpleMP3Streamer SimplePCMStreamer SimpleWAVStreamer

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
 
UsageEnvironmentenv = nullptr
 
RTPSinksink = nullptr
 
RTCPInstancertcpInstance = nullptr
 
GroupsockrtpGroupsock = nullptr
 
GroupsockrtcpGroupsock = nullptr
 
RTSPServerrtspServer = nullptr
 
MediaSourcesource = nullptr
 
unsigned char CNAME [MAX_CNAME_LEN+1] = {0}
 

Detailed Description

Abstract base class for a Simple API for a Streamer.

Author
Phil Schatzmann

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