Micro RTSP Audio
Public Member Functions | List of all members
RTSPServer Class Reference

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 ()
 

Detailed Description

Creates an RTSP Server to listen for client connections and start sessions.

Constructor & Destructor Documentation

◆ RTSPServer()

RTSPServer::RTSPServer ( AudioStreamer streamer,
int  port = 8554,
int  core = 1 
)

Creates a new RTSP server

Parameters
streamerAudioStreamer object that acts as a source for data streams
portport that the RTSP Server should listen on (default 8554)
corethe ESP32 core number the RTSP runs on (0 or 1, default 1)

Member Function Documentation

◆ begin()

int RTSPServer::begin ( const char *  ssid,
const char *  password 
)

Start WIFI and runAsync()

Parameters
ssid
password

◆ runAsync()

int RTSPServer::runAsync ( )

Starts running the server in a new asynchronous Task

Returns
0 on success, or error number

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