We feed the URLLoaderHLS with some url strings. The data of the related segments are provided via the readBytes() method.
More...
#include <HLSStream.h>
template<typename URLStream>
class audio_tools_hls::URLLoaderHLS< URLStream >
We feed the URLLoaderHLS with some url strings. The data of the related segments are provided via the readBytes() method.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ URLLoaderHLS()
template<typename URLStream >
◆ ~URLLoaderHLS()
template<typename URLStream >
◆ addUrl()
template<typename URLStream >
| void addUrl |
( |
const char * |
url | ) |
|
|
inline |
Adds the next url to be played in sequence.
◆ available()
template<typename URLStream >
Available bytes of the audio stream.
◆ begin()
template<typename URLStream >
◆ bufferRefill()
template<typename URLStream >
try to keep the buffer filled
◆ contentLength()
template<typename URLStream >
◆ contentType()
template<typename URLStream >
| const char * contentType |
( |
| ) |
|
|
inline |
◆ end()
template<typename URLStream >
◆ readBytes()
template<typename URLStream >
| size_t readBytes |
( |
uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Provides data from the audio stream.
◆ setBufferSize()
template<typename URLStream >
| void setBufferSize |
( |
int |
size, |
|
|
int |
count |
|
) |
| |
|
inline |
◆ setCACert()
template<typename URLStream >
| void setCACert |
( |
const char * |
cert | ) |
|
|
inline |
◆ urlCount()
template<typename URLStream >
Provides the number of open urls which can be played. Refills them, when min limit is reached.
◆ active
template<typename URLStream >
◆ buffer
template<typename URLStream >
| RingBuffer<uint8_t> buffer {0} |
|
protected |
◆ buffer_count
template<typename URLStream >
◆ buffer_size
template<typename URLStream >
◆ url_stream
template<typename URLStream >
◆ url_to_play
template<typename URLStream >
| const char* url_to_play = nullptr |
|
protected |
◆ urls
template<typename URLStream >
| Vector<const char *> urls {10} |
|
protected |
The documentation for this class was generated from the following file: