diff --git a/src/sip/sipcall.cpp b/src/sip/sipcall.cpp index 06367b51c8ed660aaf7284000b23eb1282e9541f..735ea834a15455e43b463d6ab61883f152c038d7 100644 --- a/src/sip/sipcall.cpp +++ b/src/sip/sipcall.cpp @@ -1583,7 +1583,7 @@ SIPCall::isAudioMuted() const const auto iter = std::find_if(rtpStreams_.begin(), rtpStreams_.end(), mutedCheck); - return iter != rtpStreams_.end(); + return iter == rtpStreams_.end(); } bool @@ -1611,7 +1611,7 @@ SIPCall::isVideoMuted() const and not stream.mediaAttribute_->muted_); }; const auto iter = std::find_if(rtpStreams_.begin(), rtpStreams_.end(), mutedCheck); - return iter != rtpStreams_.end(); + return iter == rtpStreams_.end(); #else return true; #endif