/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 provided
exit status 1
Compilation error: 'class CRtspSession' has no member named 'broadcastCurrentFrame'
I cant compile the code. What is the problem?
/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 provided
exit status 1
Compilation error: 'class CRtspSession' has no member named 'broadcastCurrentFrame'
I cant compile the code. What is the problem?