Update MultiMediaSourceMuxer.cpp

{fix} fix _ps_rtp_sender not found in MultiMediaSourceMuxer.cpp [compile problem]
This commit is contained in:
qingci 2020-09-10 19:28:30 +08:00 committed by GitHub
parent 9c96f8d31a
commit 299b988ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,10 @@ 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();
}