RyanK

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Audio Session on iOS #1488
    RyanK
    Participant

    Yeah its working on iOS, I still need to look into the android side of things.

    in reply to: Audio Session on iOS #1486
    RyanK
    Participant

    Actually thats not true. You can do speech recognition and play audio at the same time. That is what the AVAudioSessionCategoryPlayAndRecord category is for. I just tested this with my own plugin and it works fine. Thanks for your help and suggestions though.

    in reply to: Audio Session on iOS #1484
    RyanK
    Participant

    Mansiva, thanks this is the route we tried to go however we have some sound effects that we need to have play while the speech recording is happening. When the speech recording starts all the audio inside unity stops. The only real option for us is to change the Audio Session inside the plugin itself or to rewrite the plugin ourselves.

    Any help from the developer would be greatly appreciated, Thanks.

    in reply to: Audio Session on iOS #1481
    RyanK
    Participant

    Related to my above ask. Here is a good grid of what the different AVAudioSession allow. About half way down this page. https://yahooeng.tumblr.com/post/133423436921/controlling-audio-output-on-ios-with

    in reply to: Audio Session on iOS #1479
    RyanK
    Participant

    Hi,

    I am also having the same issue here. I am unable to play audio both while running speech recognition and after speech recognition. I am using the standard unity api’s for playing audio. Audio does work before attempting speech recognition. I believe that the fix for me is the same as what mansiva suggestion of changing the AVAudioSession category to AVAudioSessionCategoryPlayAndRecord.

    Any help would be appreciated, Thanks.

    • This reply was modified 5 years ago by RyanK.
Viewing 5 posts - 1 through 5 (of 5 total)