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