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

SCRecorder Library break the music app audio running in the background and then continue after a delay of 1 sec #224

Open
sumitsharma opened this issue Oct 7, 2015 · 0 comments

Comments

@sumitsharma
Copy link

Hi Team SCRecorder,

I was using SCRecorder library for one of my project to capture photo and video simultaneously when background music is playing. I am facing a delay/pause of 1 sec in the background audio which was paying either by iTunes or any music application.

This kind of delay is not found in application like SnapChat or other applications who are working on similar functionality.

I have used the following code snippet and reference from apple developer portal. You can also look at my code and help me to troubleshoot this problem.

https://developer.apple.com/library/ios/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/ConfiguringanAudioSession/ConfiguringanAudioSession.html

http://stackoverflow.com/questions/28715597/allows-music-playback-during-recording-video-like-snapchat-ios/32416013#32416013

My Demo for SCRecorder
https://github.com/sumitsharma/SCRecorderDemo

@sumitsharma sumitsharma changed the title SCRecorder Library pause the background audio and then play it after a delay of 1 sec SCRecorder Library break the music app audio running in the background and then continue after a delay of 1 sec Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant