Skip to content

Setup / init in Readme outdated? #33

Description

@tux2000

ESP32-RTSPServer/README.md

Lines 144 to 151 in ea41b76

// 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");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions