youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.65k stars 684 forks source link

Losing my existing AVAudioSession after dismissing youtube player #335

Open kunaldada opened 5 years ago

kunaldada commented 5 years ago

I am working on a music app. My music app has a AVAudioSession in place along with a background task. Then I open youtube player and even after dismissing it, I am not able to retain my background audio session.

virajd49 commented 5 years ago

@kunaldada Did you ever find a solution for your problem ? I am facing something kind of similar, where playing the youtube video interferes with a MPMusicApplicationPlayer instance that I have active in my app