UNPKG

node-datachannel

Version:

WebRTC For Node.js and Electron. libdatachannel node bindings.

11 lines (7 loc) 259 B
#ifndef MEDIA_DIRECTION_H #define MEDIA_DIRECTION_H #include <napi.h> #include <rtc/rtc.hpp> rtc::Description::Direction strToDirection(const std::string dirAsStr); std::string directionToStr(rtc::Description::Direction dir); #endif // MEDIA_DIRECTION_H