GitHub user eworx opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/17

    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.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eworx/cordova-plugin-media master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit f723ff83ee12fa2c69e2c928287c7f9a2fb6d48e
Author: eworx <[email protected]>
Date:   2014-05-30T13:57:55Z

    Check if avSession.category is already set to 
"AVAudioSessionCategoryPlayAndRecord" before recording, so as not to override 
it with "AVAudioSessionCategoryRecord".

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to