title: MPMoviePlayerController unmutes hardware mute in AVAudioPlayer
body: <p>I've set my phone to muted state by switching vibrate/sound hardware button. In whole application some background music is playing unless the device is in muted state. So in this case, my music is playing but muted. Now in some point I want to present video (which is without sound but this shouldn't matter), however the video in MPMoviePlayerController turns music from AVAudioPlayer on even though the device is is 'muted' state. The AVAudioPlayer continues to play loudly even when i quit MPMoviePlayerController.</p>
  
  <p>Some code samples, but i doubt it will help:</p>
  
  <pre><code>// movie without sound
  [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategorySoloAmbient error:nil];
  NSURL *movieURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"myVideo" ofType:@"mp4"]];
  _moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
  [_scrollView addSubview:_moviePlayerController.view];
  [_moviePlayerController prepareToPlay];
  [_moviePlayerController play];
  
  // music
  _audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:&amp;error];
  [_audioPlayer prepareToPlay];
  [_audioPlayer play];
  </code></pre>