diff --git a/HysteriaPlayer/HysteriaPlayer.m b/HysteriaPlayer/HysteriaPlayer.m index bba3e73..127ca4c 100644 --- a/HysteriaPlayer/HysteriaPlayer.m +++ b/HysteriaPlayer/HysteriaPlayer.m @@ -811,7 +811,6 @@ - (void)deprecatePlayer { NSError *error; tookAudioFocus = NO; - [[AVAudioSession sharedInstance] setCategory:nil error:&error]; [[AVAudioSession sharedInstance] setActive:NO error:&error]; [[UIApplication sharedApplication] endReceivingRemoteControlEvents]; [[NSNotificationCenter defaultCenter]removeObserver:self name:AVPlayerItemDidPlayToEndTimeNotification object:nil]; @@ -856,4 +855,4 @@ - (void)addDelegate:(id)delegate{} - (void)removeDelegate:(id)delegate{} -@end +@end \ No newline at end of file