mpromonet / v4l2rtspserver

RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
The Unlicense
1.86k stars 428 forks source link

no matching function for call to ServerMediaSubsession::getStreamParameters #218

Closed amf99 closed 3 years ago

amf99 commented 3 years ago

Hi all, I'm trying to build v4l2rtspserver on a raspberry pi zero Linux raspberrypi 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux v4l2rtspserver was just cloned today. Dependencies were all installed, at least per github. The following error is what I'm getting. If there is anything else you need let me know.

/home/pi/v4l2rtspserver/src/HTTPServer.cpp: In member function ‘virtual void HTTPServer::HTTPClientConnection::handleHTTPCmd_StreamingGET(const char, const char)’: /home/pi/v4l2rtspserver/src/HTTPServer.cpp:330:186: error: no matching function for call to ‘ServerMediaSubsession::getStreamParameters(u_int32_t&, int, Port&, Port&, int, int, int, netAddressBits&, u_int8_t&, Boolean&, Port&, Port&, void&)’ ress,destinationTTL, isMulticast, serverRTPPort,serverRTCPPort, m_StreamToken); ^ In file included from /home/pi/v4l2rtspserver/live/liveMedia/include/GenericMediaServer.hh:29:0, from /home/pi/v4l2rtspserver/live/liveMedia/include/RTSPServer.hh:25, from /home/pi/v4l2rtspserver/src/HTTPServer.cpp:19: /home/pi/v4l2rtspserver/live/liveMedia/include/ServerMediaSession.hh:125:16: note: candidate: virtual void ServerMediaSubsession::getStreamParameters(unsigned int, const sockaddr_storage&, const Port&, const Port&, int, unsigned char, unsigned char, sockaddr_storage&, u_int8_t&, Boolean&, Port&, Port&, void&) virtual void getStreamParameters(unsigned clientSessionId, // in ^~~~~~~ /home/pi/v4l2rtspserver/live/liveMedia/include/ServerMediaSession.hh:125:16: note: no known conversion for argument 2 from ‘int’ to ‘const sockaddr_storage&’ CMakeFiles/libv4l2rtspserver.dir/build.make:4862: recipe for target 'CMakeFiles/libv4l2rtspserver.dir/src/HTTPServer.cpp.o' failed make[2]: [CMakeFiles/libv4l2rtspserver.dir/src/HTTPServer.cpp.o] Error 1 CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/libv4l2rtspserver.dir/all' failed make[1]: [CMakeFiles/libv4l2rtspserver.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2

Thanks for any help