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

A simple API for a WAV Streamer. More...

#include <RTSPSimpleStreamer.hh>

Inheritance diagram for SimpleWAVStreamer:
SimplePCMStreamer RTSPSimpleStreamer

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 AudioInputDevicecreateSource ()
 
WAVAudioFileSourcewavSource ()
 
bool setupFile ()
 Setup a single file.
 
bool setupFileFormat ()
 This is file specific - so we do nothing here.
 
AudioInputDevicepcmSource ()
 
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
 
UsageEnvironmentenv = nullptr
 
RTPSinksink = nullptr
 
RTCPInstancertcpInstance = nullptr
 
GroupsockrtpGroupsock = nullptr
 
GroupsockrtcpGroupsock = nullptr
 
RTSPServerrtspServer = nullptr
 
MediaSourcesource = nullptr
 
unsigned char CNAME [MAX_CNAME_LEN+1] = {0}
 

Detailed Description

A simple API for a WAV Streamer.

Author
Phil Schatzmann

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