提交 e7f5d409 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Remove libusrsctp stuff (not done yet at all)

上级 26de56ee
#ifndef MS_DEP_USRSCTP_H
#define MS_DEP_USRSCTP_H
class DepUsrSCTP
{
public:
static void ClassInit();
static void ClassDestroy();
};
#endif
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
'src/DepLibSRTP.cpp', 'src/DepLibSRTP.cpp',
'src/DepLibUV.cpp', 'src/DepLibUV.cpp',
'src/DepOpenSSL.cpp', 'src/DepOpenSSL.cpp',
'src/DepUsrSCTP.cpp',
'src/Logger.cpp', 'src/Logger.cpp',
'src/Loop.cpp', 'src/Loop.cpp',
'src/Settings.cpp', 'src/Settings.cpp',
...@@ -90,7 +89,6 @@ ...@@ -90,7 +89,6 @@
'include/DepLibSRTP.h', 'include/DepLibSRTP.h',
'include/DepLibUV.h', 'include/DepLibUV.h',
'include/DepOpenSSL.h', 'include/DepOpenSSL.h',
'include/DepUsrSCTP.h',
'include/LogLevel.h', 'include/LogLevel.h',
'include/Logger.h', 'include/Logger.h',
'include/Loop.h', 'include/Loop.h',
......
#define MS_CLASS "DepUsrSCTP"
// #define MS_LOG_DEV
#include "DepUsrSCTP.h"
#include "Logger.h"
// #include <usrsctp.h>
/* Static methods. */
void DepUsrSCTP::ClassInit()
{
MS_TRACE();
// Initialize usrsctp.
// TODO: second argment must be a function to get outgoing SCTP data
// (to be sent on top of DTLS)
// usrsctp_init(0, nullptr, nullptr);
}
void DepUsrSCTP::ClassDestroy()
{
MS_TRACE();
// int err;
// Free usrsctp.
// err = usrsctp_finish();
// if (err)
// MS_ERROR("usrsctp_finish() failed");
}
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "DepLibUV.h" #include "DepLibUV.h"
#include "DepOpenSSL.h" #include "DepOpenSSL.h"
#include "DepLibSRTP.h" #include "DepLibSRTP.h"
#include "DepUsrSCTP.h"
#include "Utils.h" #include "Utils.h"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.h"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.h"
...@@ -114,7 +113,6 @@ void init() ...@@ -114,7 +113,6 @@ void init()
// Initialize static stuff. // Initialize static stuff.
DepOpenSSL::ClassInit(); DepOpenSSL::ClassInit();
DepLibSRTP::ClassInit(); DepLibSRTP::ClassInit();
DepUsrSCTP::ClassInit();
Utils::Crypto::ClassInit(); Utils::Crypto::ClassInit();
RTC::UdpSocket::ClassInit(); RTC::UdpSocket::ClassInit();
RTC::TcpServer::ClassInit(); RTC::TcpServer::ClassInit();
...@@ -165,7 +163,6 @@ void destroy() ...@@ -165,7 +163,6 @@ void destroy()
DepLibUV::ClassDestroy(); DepLibUV::ClassDestroy();
DepOpenSSL::ClassDestroy(); DepOpenSSL::ClassDestroy();
DepLibSRTP::ClassDestroy(); DepLibSRTP::ClassDestroy();
DepUsrSCTP::ClassDestroy();
} }
void exitSuccess() void exitSuccess()
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论