Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ios/AudioRecorderManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ - (NSString *) applicationDocumentsDirectory
[_recordSession setCategory:AVAudioSessionCategoryRecord error:nil];
[_recordSession setMode:AVAudioSessionModeMeasurement error:nil];
}else{
[_recordSession setCategory:AVAudioSessionCategoryMultiRoute error:nil];
[_recordSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth error:nil];
[_recordSession setMode:AVAudioSessionModeDefault error:nil];
}

_audioRecorder = [[AVAudioRecorder alloc]
Expand Down