Skip to content

Commit

Permalink
changed avaudiosessioncategory to ambient
Browse files Browse the repository at this point in the history
  • Loading branch information
pei-neofonie committed Oct 27, 2014
1 parent 6a0d5b6 commit 9452854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/nativeaudio.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ - (void)pluginInitialize
NSError *setCategoryError = nil;

// Allows the application to mix its audio with audio from other apps.
if (![session setCategory:AVAudioSessionCategoryPlayback
if (![session setCategory:AVAudioSessionCategoryAmbient
withOptions:AVAudioSessionCategoryOptionMixWithOthers
error:&setCategoryError]) {

Expand Down

0 comments on commit 9452854

Please sign in to comment.