audio_rtp_session: fix setMuted

Regression was caused by 37125acf5 where the mute button didn't
work anymore.

Change-Id: I7e3d0953e65848818c9dc0e348759dce63274337
This commit is contained in:
Sébastien Blin
2021-03-15 09:46:57 -04:00
parent ba05f4fbdf
commit e8070b0800

View File

@ -213,6 +213,8 @@ AudioRtpSession::setMuted(bool isMuted)
{
std::lock_guard<std::recursive_mutex> lock(mutex_);
muteState_ = isMuted;
if (audioInput_)
audioInput_->setMuted(isMuted);
}
bool