control built in microphone volume in ios

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?


NSError *error;
[[AVAudioSession sharedInstance] setInputGain:0.0f error:&error];
  • (BOOL)setInputGain:(float)gain error:(NSError * _Nullable *)outError Changes the input gain to the specified value.

Need Your Help

Passing Object in get Request to WebAPI 2


selectedLocation is always null on the Server

updating a patch to the new version of a program


I have this patch developed for mailman-2.1.13, and I would like to port it to mailman-2.1.15