修复关闭HLS后,编译失败的问题

This commit is contained in:
xiongziliang
2020-09-12 19:46:58 +08:00
parent be1e872f0c
commit 3b5053af50
6 changed files with 34 additions and 15 deletions

View File

@@ -8,6 +8,7 @@
* may be found in the AUTHORS file in the root of the source tree.
*/
#if defined(ENABLE_RTPPROXY)
#include "PSRtpSender.h"
#include "Rtsp/RtspSession.h"
#include "Thread/WorkThreadPool.h"
@@ -162,4 +163,5 @@ void PSRtpSender::onErr(const SockException &ex, bool is_connect) {
}, _poller);
}
}//namespace mediakit
}//namespace mediakit
#endif// defined(ENABLE_RTPPROXY)