mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-02 08:09:02 +08:00
优化代码
整理代码
This commit is contained in:
@@ -19,8 +19,6 @@ using namespace toolkit;
|
||||
|
||||
namespace mediakit{
|
||||
|
||||
RtpServer::RtpServer() {}
|
||||
|
||||
RtpServer::~RtpServer() {
|
||||
if (_on_cleanup) {
|
||||
_on_cleanup();
|
||||
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
using onRecv = std::function<void(const toolkit::Buffer::Ptr &buf)>;
|
||||
enum TcpMode { NONE = 0, PASSIVE, ACTIVE };
|
||||
|
||||
RtpServer();
|
||||
RtpServer() = default;
|
||||
~RtpServer();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user