Skip to content

Compilation error: 'class CRtspSession' has no member named 'broadcastCurrentFrame' #13

@manuugonz

Description

@manuugonz

/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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions