Commit f03e2f62 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Adrien Béraud

call: fix mute microphone

When call unpaused after microphone was muted, mute state changes to
unmute in call, when in audio input it still muted. After this all attempts
to mute/unmute audio are unsuccessful. This patch removes
mute state update when restarting media, since audio muting managed only
by audio input, and should not be related of rtp session parameters.
This patch left video mute state updates.

Change-Id: I4ac3bea04865fa23b876d5c10fcb5c172c4501a3
parent cf485f23
......@@ -1155,9 +1155,6 @@ SIPCall::startAllMedia()
isVideoMuted_ = mediaInput_.empty();
break;
#endif
case MEDIA_AUDIO:
isAudioMuted_ = not rtp->isSending();
break;
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment