Hello ,
I tried to Mute the Audio of the Local Stream , But Still the audio is not getting muted.Please correct me if I m wrong or suggest me the wright way to mute the sudio of locla stream
std::vector<rtc::scoped_refptr<webrtc::AudioTrackInterface> > audioTrack = mainApp->GetLocalMediaStream()->GetAudioTracks();
for (int i = 0; i < audioTrack.size(); i++)
{
audioTrack[i]->set_enabled(false);
}
return S_OK;