|
Arduino live555
|
A Simple API for a MP3 Streamer. More...
#include <RTSPSimpleStreamer.hh>
Public Member Functions | |
| SimpleMP3Streamer (AbstractFile &driver) | |
| SimpleMP3Streamer (AbstractFile *driver) | |
| bool | play () |
| virtual RTSPSimpleStreamerConfig | defaultConfig () |
| virtual bool | begin (RTSPSimpleStreamerConfig config) |
| 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 | |
| FramedSource * | framedSource () |
| bool | setupFileFormat () |
| 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} |
A Simple API for a MP3 Streamer.