Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, I want to know how to play some audio background on iOS. #15

Closed
vhikd opened this issue Apr 21, 2014 · 3 comments
Closed

Hello, I want to know how to play some audio background on iOS. #15

vhikd opened this issue Apr 21, 2014 · 3 comments

Comments

@vhikd
Copy link

vhikd commented Apr 21, 2014

Hello,
I want to play some audio background on iOS. Does it support for this function?
If do, how could I set in the project? Thank you .

@bbcallen
Copy link
Contributor

Not support yet. It's a little complicate.

  1. aout need to setup an AVAudioSession.
  2. aout need to handle session interrupt by other audio session, such as phone-call, and resetup the whole audio output.

@vhikd
Copy link
Author

vhikd commented Apr 21, 2014

Thanks for your reply.

@bbcallen
Copy link
Contributor

bbcallen commented Jun 3, 2015

Supported since 71de28e
Experimental

[mp setPauseInBackground:NO];

@bbcallen bbcallen closed this as completed Jun 3, 2015
@smartTop smartTop mentioned this issue May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants