arduino-audio-tools
Loading...
Searching...
No Matches
AudioClientRTSP Class Reference

A simple RTSPClient using https://github.com/pschatzmann/arduino-live555. More...

#include <RTSPClient555.h>

Public Member Functions

 AudioClientRTSP (uint32_t receiveBufferSize=1024, bool useTCP=false, bool blocking=false)
bool begin (const char *url, Print &out)
 Starts the processing.
audiotools_rtsp::OurRTSPClient * client ()
void end ()
void loop ()
 to be called in Arduino loop when blocking = false
void setBlocking (bool flag)
void setBufferSize (int size)
void setLogin (const char *ssid, const char *password)
 login to wifi: optional convinience method. You can also just start Wifi the normal way
void setTCP ()
void setUDP ()

Protected Member Functions

bool login ()
 login to wifi: optional convinience method. You can also just start Wifi the normal way

Protected Attributes

UsageEnvironment * env =nullptr
bool is_blocking = false
const char * password = nullptr
audiotools_rtsp::OurRTSPClient * rtsp_client
BasicTaskScheduler * scheduler =nullptr
const char * ssid =nullptr

Detailed Description

A simple RTSPClient using https://github.com/pschatzmann/arduino-live555.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ AudioClientRTSP()

AudioClientRTSP ( uint32_t receiveBufferSize = 1024,
bool useTCP = false,
bool blocking = false )
inline

Member Function Documentation

◆ begin()

bool begin ( const char * url,
Print & out )
inline

Starts the processing.

◆ client()

audiotools_rtsp::OurRTSPClient * client ( )
inline

◆ end()

void end ( )
inline

◆ login()

bool login ( )
inlineprotected

login to wifi: optional convinience method. You can also just start Wifi the normal way

◆ loop()

void loop ( )
inline

to be called in Arduino loop when blocking = false

◆ setBlocking()

void setBlocking ( bool flag)
inline

◆ setBufferSize()

void setBufferSize ( int size)
inline

◆ setLogin()

void setLogin ( const char * ssid,
const char * password )
inline

login to wifi: optional convinience method. You can also just start Wifi the normal way

◆ setTCP()

void setTCP ( )
inline

◆ setUDP()

void setUDP ( )
inline

Member Data Documentation

◆ env

UsageEnvironment* env =nullptr
protected

◆ is_blocking

bool is_blocking = false
protected

◆ password

const char* password = nullptr
protected

◆ rtsp_client

audiotools_rtsp::OurRTSPClient* rtsp_client
protected

◆ scheduler

BasicTaskScheduler* scheduler =nullptr
protected

◆ ssid

const char* ssid =nullptr
protected

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