Search Issue Tracker

Fixed

Votes

10

Found in

5.3.0f4

Issue ID

762948

Regression

No

[iOS] Audio will be played from earspeaker if Microphone.Start() is used

iOS

-

1. Open attached project(zip in edit)
2. Build to iOS device
3. AudioSource.Play() and Microphone.Start() will be launched on beginning, audio will be playing from ear speaker
4. Press "Stop recording" and AudioSource.Play() will be started again, audio will be playing from audio speaker

Workaround: https://github.com/cbaltzer/UnitySpeakerFix this plugin lets you force playing from audio speaker

Comments (7)

  1. bu213200

    Nov 14, 2018 03:59

    Hello, I have update this fix to new version( above iOS 7.0, at Nov, 2018), and it's ready to use
    https://github.com/10people/UnitySpeakerFix

  2. Joyrider

    Feb 07, 2018 08:31

    This must be quite a review...

    Using voice recognition and TTS together just doesn't work on iPhone, which is a huge issue for a client project directed at workforce phones. We tried all the workarounds out there, which force sound through the speaker. They unfortunatly make voice recording bug (for voice recording). So no work around really works and they generate serious lags in the app.

    The issue has been there for 2 years... a fix has been in review for at least 2 months...
    Has this fix been shredded and the developer executed x) or can we expect this to be included in a soon to be released patch/update ?

  3. danta2nd

    Nov 29, 2017 07:37

    When can we expect the fix to be distributed?

    For now I've created a temporary swift plugin based on the earlier solution.
    - (this will only work on iOS 10 and up)

    https://github.com/Danta1st/ios-speaker-routing

  4. dyuldashev

    Sep 22, 2017 13:12

    Has it been fixed yet? I think it is causing some lags.

  5. dustinmerrell

    Jan 06, 2017 18:12

    This also ends bluetooth audio playback and routes it back to the speaker.

  6. icehotter

    May 16, 2016 11:56

    This issue has been there since last year, it is such an annoyance. Also the fix provided on github will no longer allow a build to succeed in Xcode.

  7. daganunity

    Apr 20, 2016 11:09

    The workaround causes application to lag, on the vocal experince, expecting a better solution.
    Thanks.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.