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

Check if avSession.category is already set to "AVAudioSessionCategoryPlayAndRecord" before recording #17

Closed
wants to merge 1 commit into from

Conversation

eworx
Copy link
Contributor

@eworx eworx commented May 30, 2014

Check if avSession.category is already set to "AVAudioSessionCategoryPlayAndRecord" before recording, so as not to override it with "AVAudioSessionCategoryRecord". This way, applications that require to play media and record audio simultaneously, may do so in a straightforward manner; i.e. set the AVAudioSessionCategory to "AVAudioSessionCategoryPlayAndRecord", and then just play the media and start recording.

…PlayAndRecord" before recording, so as not to override it with "AVAudioSessionCategoryRecord".
@eworx eworx changed the title Check if avSession.category is already set to "AVAudioSessionCategoryPlayAndRecord" before recording, so as not to override it with "AVAudioSessionCategoryRecord". This way, applications that require to play media and record audio simultaneously, may do so in a straightforward manner; i.e. set the AVAudioSessionCategory to "AVAudioSessionCategoryPlayAndRecord", and then just play the media and start recording. Check if avSession.category is already set to "AVAudioSessionCategoryPlayAndRecord" before recording May 30, 2014
@asfgit asfgit closed this in 40a60e0 Jun 27, 2014
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

Successfully merging this pull request may close these issues.

None yet

1 participant