node-datachannel
Version:
WebRTC For Node.js and Electron. libdatachannel node bindings.
26 lines (19 loc) • 609 B
Plain Text
class RtcWrapper
{
public:
static Napi::Object Init(Napi::Env env, Napi::Object exports);
static void preload(const Napi::CallbackInfo &info);
static void initLogger(const Napi::CallbackInfo &info);
static void cleanup(const Napi::CallbackInfo &info);
static void setSctpSettings(const Napi::CallbackInfo &info);
private:
static inline std::unique_ptr<ThreadSafeCallback> logCallback = nullptr;
};