Open manuugonz opened 10 months ago
Hey, I'm new to this too. Here is what i found out:
1) When I downloaded the MicroRTSP library from https://github.com/geeksville/Micro-RTSP master branch, it seems to be missing the braocastCurrentFrame within the CRtspSession.h. Resulting in the same error you were facing.
2) Using the MicroRTSP.zip provided in this repo: https://github.com/circuitrocks/ESP32-RTSP/blob/master/ArduinoIDE/Micro-RTSP.zip seems to be working for me!
I'm not sure why but I hope it helps!
/Users/..../Desktop/ESP32-RTSP-master/src/rtsp.cpp: In function 'void rtspTask(void)': /Users/..../Desktop/ESP32-RTSP-master/src/rtsp.cpp:80:14: error: 'class CRtspSession' has no member named 'broadcastCurrentFrame' session->broadcastCurrentFrame(now); ^
~~~~/Users/..../Desktop/ESP32-RTSP-master/src/rtsp.cpp:101:51: error: no matching function for call to 'OV2640Streamer::OV2640Streamer(WiFiClient, OV2640&)' streamer = new OV2640Streamer(&rtspClient, cam); // our streamer for UDP/TCP based RTP transport ^ In file included from /Users/..../Desktop/ESP32-RTSP-master/src/main.h:15, from /Users/..../Desktop/ESP32-RTSP-master/src/rtsp.cpp:1: /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:12:5: note: candidate: 'OV2640Streamer::OV2640Streamer(OV2640)' OV2640Streamer(OV2640 cam); ^~~~~~ /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:12:5: note: candidate expects 1 argument, 2 provided /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:6:7: note: candidate: 'OV2640Streamer::OV2640Streamer(const OV2640Streamer&)' class OV2640Streamer : public CStreamer ^~~~~~ /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:6:7: note: candidate expects 1 argument, 2 provided /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:6:7: note: candidate: 'OV2640Streamer::OV2640Streamer(OV2640Streamer&&)' /Users/..../Documents/Arduino/libraries/Micro-RTSP/src/OV2640Streamer.h:6:7: note: candidate expects 1 argument, 2 providedexit status 1
Compilation error: 'class CRtspSession' has no member named 'broadcastCurrentFrame'
I cant compile the code. What is the problem?