|
// Initialize the RTSP server |
|
//Example Setup usage: |
|
// Option 1: Start RTSP server with default values |
|
if (rtspServer.begin()) { |
|
Serial.println("RTSP server started successfully on port 554"); |
|
} else { |
|
Serial.println("Failed to start RTSP server"); |
|
} |
Is this still the correct way to setup or initialize the server? I cant get this to work on my end and the basic example seems to use rtspServer.init() only:
|
if (rtspServer.init()) { |
|
Serial.printf("RTSP server started successfully using default values, Connect to rtsp://%s:554/\n", WiFi.localIP().toString().c_str()); |
|
} else { |
|
Serial.println("Failed to start RTSP server"); |
|
} |
ESP32-RTSPServer/README.md
Lines 144 to 151 in ea41b76
Is this still the correct way to setup or initialize the server? I cant get this to work on my end and the basic example seems to use
rtspServer.init()only:ESP32-RTSPServer/examples/BasicVideo/BasicVideo.ino
Lines 190 to 194 in ea41b76