From 299b988ed11355c8ff803f5e4488c224bb0b36d9 Mon Sep 17 00:00:00 2001 From: qingci Date: Thu, 10 Sep 2020 19:28:30 +0800 Subject: [PATCH] Update MultiMediaSourceMuxer.cpp {fix} fix _ps_rtp_sender not found in MultiMediaSourceMuxer.cpp [compile problem] --- src/Common/MultiMediaSourceMuxer.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Common/MultiMediaSourceMuxer.cpp b/src/Common/MultiMediaSourceMuxer.cpp index 94bd49dd..46ae3bc3 100644 --- a/src/Common/MultiMediaSourceMuxer.cpp +++ b/src/Common/MultiMediaSourceMuxer.cpp @@ -377,8 +377,11 @@ void MultiMediaSourceMuxer::inputFrame(const Frame::Ptr &frame_in) { } bool MultiMediaSourceMuxer::isEnabled(){ - return _muxer->isEnabled() || _ps_rtp_sender; +#if defined(ENABLE_RTPPROXY) + return _muxer->isEnabled() || _ps_rtp_sender +#endif //ENABLE_RTPPROXY + return _muxer->isEnabled(); } -}//namespace mediakit \ No newline at end of file +}//namespace mediakit