#include "libdatachannel/rtc.hpp" #include #include #include "nlohmann/json.hpp" #include #ifdef _WIN32 #include #else #include typedef int SOCKET; #endif using json = nlohmann::json; #ifndef RTCPEERHANDLER #define RTCPEERHANDLER class rtcPeerHandler{ public: rtcPeerHandler(); void initiateConnection(std::string peerIP, int peerPort); struct client { std::shared_ptr pc; std::shared_ptr dc; }; private: std::map clients; }; #endif