mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
修复编译问题:#584
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
#include "RtpCache.h"
|
||||
|
||||
#if defined(ENABLE_RTPPROXY)
|
||||
|
||||
namespace mediakit{
|
||||
|
||||
RtpCache::RtpCache(onFlushed cb) {
|
||||
@@ -31,3 +33,5 @@ void RtpCachePS::onRTP(Buffer::Ptr buffer) {
|
||||
}
|
||||
|
||||
}//namespace mediakit
|
||||
|
||||
#endif//#if defined(ENABLE_RTPPROXY)
|
||||
@@ -11,6 +11,8 @@
|
||||
#ifndef ZLMEDIAKIT_RTPCACHE_H
|
||||
#define ZLMEDIAKIT_RTPCACHE_H
|
||||
|
||||
#if defined(ENABLE_RTPPROXY)
|
||||
|
||||
#include "PSEncoder.h"
|
||||
#include "Extension/CommonRtp.h"
|
||||
|
||||
@@ -46,4 +48,5 @@ protected:
|
||||
};
|
||||
|
||||
}//namespace mediakit
|
||||
#endif//ENABLE_RTPPROXY
|
||||
#endif //ZLMEDIAKIT_RTPCACHE_H
|
||||
|
||||
Reference in New Issue
Block a user