arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RTSPFormatG711 Class Reference

G711 μ-Law format for RTSP https://en.wikipedia.org/wiki/RTP_payload_formats Packet intervall: 20, frame size: any. More...

#include <RTSP.h>

Inheritance diagram for RTSPFormatG711:
RTSPFormatAudioTools

Public Member Functions

virtual void begin (AudioInfo info)
 
AudioInfo defaultConfig ()
 Provide a default format that will just work.
 
const char * format (char *buffer, int len) override
 Provides the G711 format information.
 
int fragmentSize ()
 
const char * name ()
 Proides the name.
 
void setFragmentSize (int fragmentSize)
 
void setIsULaw (bool flag)
 Defines if we use ulow ar alow; by default we use ulaw!
 
void setName (const char *name)
 Defines the name.
 
void setTimerPeriod (int period)
 
int timerPeriod ()
 

Protected Member Functions

uint8_t getFormat ()
 

Protected Attributes

AudioInfo cfg
 
bool is_ulaw = true
 
const char * name_str ="RTSP-Demo"
 

Detailed Description

G711 μ-Law format for RTSP https://en.wikipedia.org/wiki/RTP_payload_formats Packet intervall: 20, frame size: any.

Author
Phil Schatzmann

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