Reputation: 3682
I am implementing a VOIP application where I want to mute the microphone for some time. For your information, I don't want to stop processing outgoing audio.How can I achieve this?
Upvotes: 0
Views: 1606
Reputation: 1038
NSError *error;
[[AVAudioSession sharedInstance] setInputGain:0.0f error:&error];
Upvotes: 1