arduino-audio-tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | Protected Attributes | List of all members
RTSPFormatAudioTools Class Referenceabstract

RTSPFormat which supports the AudioInfo class. More...

#include <RTSP.h>

Inheritance diagram for RTSPFormatAudioTools:
RTSPFormatAbtX RTSPFormatG711 RTSPFormatGSM RTSPFormatOpus RTSPFormatPCM RTSPFormatPCM8

Public Member Functions

virtual void begin (AudioInfo info)
 
virtual AudioInfo defaultConfig ()=0
 Provide a default format that will just work.
 
virtual const char * format (char *buffer, int len)=0
 Provides the format string.
 
int fragmentSize ()
 
const char * name ()
 Proides the name.
 
void setFragmentSize (int fragmentSize)
 
void setName (const char *name)
 Defines the name.
 
void setTimerPeriod (int period)
 
int timerPeriod ()
 

Protected Attributes

AudioInfo cfg
 
const char * name_str ="RTSP-Demo"
 

Detailed Description

RTSPFormat which supports the AudioInfo class.

Author
Phil Schatzmann

Member Function Documentation

◆ defaultConfig()

virtual AudioInfo defaultConfig ( )
pure virtual

Provide a default format that will just work.

Implemented in RTSPFormatOpus, RTSPFormatAbtX, RTSPFormatGSM, RTSPFormatG711, RTSPFormatPCM, and RTSPFormatPCM8.

◆ format()

virtual const char * format ( char *  buffer,
int  len 
)
pure virtual

Provides the format string.

Implemented in RTSPFormatOpus, RTSPFormatAbtX, RTSPFormatGSM, RTSPFormatG711, RTSPFormatPCM, and RTSPFormatPCM8.


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