|
Micro RTSP Audio
|
Creates an RTSP Server to listen for client connections and start sessions. More...
#include <RTSPServer.h>
Public Member Functions | |
| RTSPServer (AudioStreamer *streamer, int port=8554, int core=1) | |
| int | begin (const char *ssid, const char *password) |
| Start WIFI and runAsync() More... | |
| int | runAsync () |
| TaskHandle_t | getTaskHandle () |
Creates an RTSP Server to listen for client connections and start sessions.
| RTSPServer::RTSPServer | ( | AudioStreamer * | streamer, |
| int | port = 8554, |
||
| int | core = 1 |
||
| ) |
Creates a new RTSP server
| streamer | AudioStreamer object that acts as a source for data streams |
| port | port that the RTSP Server should listen on (default 8554) |
| core | the ESP32 core number the RTSP runs on (0 or 1, default 1) |
| int RTSPServer::begin | ( | const char * | ssid, |
| const char * | password | ||
| ) |
Start WIFI and runAsync()
| ssid | |
| password |
| int RTSPServer::runAsync | ( | ) |
Starts running the server in a new asynchronous Task