Photon Voice and iphone

Hi

using 1.13 Photon Voice

I can see you have implemented the https://github.com/cbaltzer/UnitySpeakerFix

However we still get sound only from the iphone ear speaker (the one used when making or receiving a call) not the main speakers.

On older devices with plug in headphones sound is routed to the headphones when plugged in.

If using bluetooth headphones on newer devices the sound is not routed and the ear speaker (the one used when making or receiving a call) remains activated.

Help, what am I missing?

All fine on Android though

Cheers

Comments

  • JohnTubeJohnTube mod
    edited December 2017
    Hi @VRCraftworks,

    Thank you for choosing Photon!

    We are considering improving the iOS (and other) native Unity plugins to fix or add what's missing in Unity in terms of input and output audio devices handling.

    Could you help us by defining what you mean by "older" and "newer" devices?
    Maybe clearly list what's working and what's not, the different combinations you tried, Unity version(s), used device(s), expected and actual behaviors?
    Thanks.
  • edited January 2
    Hi there

    Happy New Year!

    Devices
    Older devices - those iphones with plug in headphones the 5 series and the 6.
    Newer devices - iphone devices all have bluetooth headphones which are the iphone 7s and iphone 8s

    List whats working and not working:

    Working
    On older devices iphone 5 and 6 series with plug in headphones sound is routed to the headphones when plugged in and the audio speakers (not the ear/call speaker the one used when making and receiving calls) when not.

    Not working
    If using bluetooth headphones on newer iphone 7 and 8 series devices the sound is not routed to the headphones and remains routed to the ear speaker (the one used when making or receiving a call). Sound is also only routed to the ear/call speaker when no headphone device is present.

    The expected behavior
    The sound to be routed properly to the audio speakers on newer devices the iphone 7 and 8 when no headphones are present and to the blue tooth headphones when they are plugged in. This expected behaviour is what happens on the older devices.

    Unity
    5.6.2 and 2017.1

    Photon
    1.13 Photon Voice which contains the fix for this from https://github.com/cbaltzer/UnitySpeakerFix

    Let me know if you need any further information.

    Cheers

  • Hi guys

    any progress on this?

    Cheers B)
  • Hi @VRCraftworks,

    No sorry, nothing yet but we have a task on our list for this.
    We will post any updates here.
  • edited January 5
    No probs John.

    Just thought it could be something we missed as the solution from

    https://github.com/cbaltzer/UnitySpeakerFix

    seems to have been implemented apart from the scripts in:

    https://github.com/cbaltzer/UnitySpeakerFix/tree/master/Unity/Assets/Plugins/iPhoneSpeaker

    Can this possibly be the reason??

    Perhaps its missing an added call to iPhoneSpeaker.ForceToSpeaker() after you call Microphone.Start()?

    Not a fan of ploughing through other peoples code but do you know in which scripts Microphone.Start() is called so we can quickly have check through?

    We will also try this as sometimes its something as simple as this:

    https://forum.unity.com/threads/audio-coming-out-of-small-phone-call-speaker-instead-of-speakers-on-bottom.207680/

    (final post) that solves the issue.

    Cheers :)
Sign In or Register to comment.