Skip to content

Commit

Permalink
Fix iOS category (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryo authored and dekpient committed Jan 23, 2020
1 parent 5517f1f commit f37b3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/RCTVideo.m
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ - (void)setupPipController {
- (void)configureAVAudioSession
{
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
[audioSession setCategory:AVAudioSessionCategoryPlayback error:nil];
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];
[audioSession overrideOutputAudioPort:AVAudioSessionPortOverrideNone error:nil];
}

Expand Down

0 comments on commit f37b3fd

Please sign in to comment.