webrtc::VoiceEngine* voe = webrtc::VoiceEngine::Create();
if (voe == NULL) {
NSLog(@"Failed to initialize voice engine.\n");
}
webrtc::VoEVolumeControl* volume_control =webrtc::VoEVolumeControl::GetInterface(voe);
if (volume_control->SetMicVolume(0) != 0) {
NSLog(@"Failed set volume to 0.\n");
}
volume_control->SetSystemInputMute(YES);
if ( volume_control->SetSystemInputMute(YES) != YES) {
NSLog(@"Failed set InputMute.\n");
}