|
Arduino live555
|
A simple API for a WAV Streamer. More...
#include <RTSPSimpleStreamer.hh>
Public Member Functions | |
| SimpleWAVStreamer (AbstractFile &driver) | |
| SimpleWAVStreamer (AbstractFile *driver) | |
| bool | play () |
| void | setChannels (unsigned int channels) |
| void | setBitsPerSample (unsigned char bps) |
| void | setAudioFormat (unsigned char fmt) |
| void | setAudioRate (int rate) |
| 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 | |
| virtual AudioInputDevice * | createSource () |
| WAVAudioFileSource * | wavSource () |
| bool | setupFile () |
| Setup a single file. | |
| bool | setupFileFormat () |
| This is file specific - so we do nothing here. | |
| AudioInputDevice * | pcmSource () |
| 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 | |
| unsigned char | audioFormat = WA_PCM |
| unsigned char | numChannels = 2 |
| unsigned char | bitsPerSample = 16 |
| unsigned | samplingFrequency = 44100 |
| 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 WAV Streamer.