|
|
@@ -86,7 +86,9 @@ NSString * const DFPlaybackLikelyToKeepUpKey = @"playbackLikelyToKeepUp";
|
|
|
[DFPlayerFileManager df_saveUserId:userId];
|
|
|
|
|
|
[[AVAudioSession sharedInstance] setActive:YES error:nil];
|
|
|
- [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
|
|
|
+ //[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
|
|
|
+ //hxd change 20240723
|
|
|
+ [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil];
|
|
|
|
|
|
_isOtherPlaying = [AVAudioSession sharedInstance].otherAudioPlaying;
|
|
|
|