title: Microphone low voice recording issue when AVAudioSession mode is set to AVAudioSessionModeVideoChat
body: <p>As per the documentation of <code>AVAudioSessionModeVideoChat</code> - </p>
  
  <p><em>When this mode is in use, the device’s tonal equalization is optimized for voice and the set of allowable audio routes is reduced to only those appropriate for video chat.</em></p>
  
  <p>So the system reduces the default sensitivity of audio output and input routes suitable for this mode.</p>
  
  <p>I'm using setMode to <code>AVAudioSessionModeVideoChat</code> so that app/system automatically recognizes and adapt to hardware integrations (wired and bluetooth headset) on the fly. But, it seems like setting this mode to video chat reduces the built microphone sensitivity considerably and hence sound gets recorded at low pitch. My targeted app users would be mostly in noisy atmosphere.</p>
  
  <p><strong>Is there any way to increase input and output sensitivity to maximum and at the same time leverage <code>AVAudioSessionModeVideoChat</code> mode?</strong></p>
  
  <p>Following is the code used for setting AudioSession in my application...</p>
  
  <pre><code>if (![[[AVAudioSession sharedInstance] category] isEqualToString:AVAudioSessionCategoryPlayAndRecord]) {
      [[AVAudioSession sharedInstance] setActive:NO error:&amp;error];
  
      [[AVAudioSession sharedInstance] setActive:YES error:&amp;error];
      NSLog(@"setActive error = %@", error);
  
      [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:&amp;error];
      NSLog(@"setCategory error = %@", error);
  
      [[AVAudioSession sharedInstance] setMode:AVAudioSessionModeVideoChat error:&amp;error];
      NSLog(@"setMode error = %@", error);
  }
  </code></pre>
  
  <p>Testing environment details: - </p>
  
  <p>Device tested : iPad mini retina 4G and iPad 2</p>
  
  <p>iOS : 7.0.3</p>
  
  <p>Testing with device built in speakers and microphones.</p>