Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Only getting sound on some iphones

Discussion in 'iOS and tvOS' started by lz7cjc, Mar 7, 2021.

  1. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    Hi
    I am streaming 3d film from youtube into my app and getting reports of no sound on some iphones.

    Any ideas how to fix?
    thanks
     
  2. Petras-Unity

    Petras-Unity

    Unity Technologies

    Joined:
    Oct 7, 2020
    Posts:
    24
    Do you know which iPhone models encountered this problem?
     
  3. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    I know at least one is an iphone 12 that doesn't get the sound

    I appreciate there isn't much to go on here but that is part of my problem. I get sound on my iphone, and also in emulation in the Editor.There is also no problem on Android.

    this makes replicating the problem pretty tricky. So I guess I am looking for known problems and suggestions on how I might replicate the problem so i can identify and fix it
    thanks
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,991
    are you using one of those asset store plugins for playing youtube videos?
    (i remember one of them had similar issue, certain resolution(s) didn't play audio for some phones or something)
     
  5. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,991
  7. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    thanks - I feel for that guy! So you definitely think it is the plugin (assuming "mute" is out the equation)? They get sound when going to youtube direct or playing music.

    Are there any other 360 video players that stream from youtube, should I not got the support I need?
     
  8. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,991
    i've used only that one, previously the issue was that in some resolutions audio didn't work (in android),
    so if possible you could try forcing different resolution video to be loaded (for testing)..

    or better if you find someone with iphone12 to do some testing with the current app,
    could try unity discord servers or other gamedev ones.
    https://discord.com/invite/unity
     
  9. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    thanks for your help! turns out it was user error! The volume control for phone calls stops the sound in the app. No idea if this is a apple problem, plug in problem or something else. If anyone finds out please let us know!
     
  10. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    I did not know about this group - is this somewhere I can ask people to test my app? I am a one man band with a couple of android phones and access to a friend's iphone. If this is somewhere I can post my app and ask people to give it a go that would be amazing
     
  11. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,991
    its regular developer chat, so if you are lucky someone might help.
    (since its chat, could get replies faster, than posting in forums.. which you could try also)

    for android, this remote thing is pretty great, not sure if theres similar for ios..
    https://developer.samsung.com/remote-test-lab
     
  12. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    520
    i have been searching for emulators but not found any that do the job. Who would have thoughts that Apple would want us to buy all their products to develop on their ecosystem
    thanks for the Discord link - sounds useful