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. Aa5aa5741bffd2b529856c309a18831a?d=mm

    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. 12f9f78f885a2e1e8bf8ec30f392227e?d=mm

    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. 1e08ae8c5dae9180e47d5c7f450c9fad?d=mm

    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. Df013ef5748364f4d49f383a90c1aa74?d=mm

    dyuldashev

    Sep 22, 2017 13:12

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

  5. 3082d9c9c430d4226a44081d07d50c68?d=mm

    dustinmerrell

    Jan 06, 2017 18:12

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

  6. 0a6e7ddd925b284b444b34de7d81f98b?d=mm

    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. B6924101c0ec17f15ee2f0adf964d504?d=mm

    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.