New to voice demo app weirdness

So I have run the demo that come with voice like so:

On MacBook Pro in Unity editor and an Android device
On two Android devices

And the results are always the same...

Player 1 talks to player 2, player 2 hears perfect audio :smiley:

Player 2 talks to player 1, player 1 always hears a distorted very noisy response :neutral:

I have implemented PUN into my app and now feel voice is required and happy to see Photon supplies this, but not sure if this is right if I get this result on your demo?

Please advise?

Thanks

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @piginhat,

    Thank you for choosing Photon!

    From the description you provided I think the 2nd Android device (Player2) has a microphone issue maybe.
    Try another device to make sure or switch Android devices when testing with Unity Editor on the Mac.
  • HI, sorry should have said I used different devices but further test has highlighted the issue, which seems to be whoever is not player 1 sound distorted like a robot?

    Tests:
    Player 1 Macbook Pro, player 2 Samsung Galaxy Tab 2
    Player 1 sounds OK to player 2 but player 2 sounds distorted to player 1

    Player 1 Nexus 5, player 2 Samsung Galaxy Tab 2
    Player 1 sounds OK to player 2 but player 2 sounds distorted to player 1

    Player 1 Macbook Pro, player 2 Motorola E4 Plus
    Player 1 sounds OK to player 2 but player 2 sounds distorted to player 1

    Player 1 Motorola E4 Plus, player 2 Macbook Pro
    Player 1 sounds OK to player 2 but player 2 sounds distorted to player 1

    So whichever device starts as player 1 their audio sounds ok to other player but other player is always distorted?
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @piginhat,

    Can you try Voice PTT demo and try with more than two players at the same time, then try leaving and joining again (disconnect and reconnect)?

    The issue is weird and the report is new.
  • Hi, again, sorry this is using the Press-To-Talk demo.

    Setup
    Player1 = Macbook in editor
    Player2 = Samsung Galaxy Tab 2
    Player3 = Motorola E4 Plus

    Talk to all from Mackbook (OK)
    Talk to all from Samsung (OK)
    Talk to all from Motorola (OK)

    Talk to player2 from player1 (OK)
    Talk to player3 from player1 (OK)

    Talk to player1 from player2 (robot distortion heard on player1 and on player3)
    Talk to player3 from player2 (robot distortion heard on player1 and on player3)

    Talk to player1 from player3 (robot distortion heard on player1 and on player2)
    Talk to player2 from player3 (robot distortion heard on player1 and on player2)

    So looks like talk to all is OK but definitely a problem talking direct to players from anyone other then player1?

    :neutral:

  • JohnTube
    JohnTube ✭✭✭✭✭
    I ran out of ideas.
    @vadim what do you make of this?
  • JohnTube said:

    I ran out of ideas.
    @vadim what do you make of this?

    Weird thing is this is using your demo, no amendments at all. Odd that when talking direct to players the output is relayed to the other 2 instead of just the intended player :neutral:
  • JohnTube
    JohnTube ✭✭✭✭✭
    so other than sound distortion you are reporting a broken demo ?
    since this is a first time, how can we reproduce this ?
  • OK, all I did was this:

    Build and deploy on two Android devices

    Run on Editor (player 1)

    Run on Android device (player 2)

    Run on Android device (player 3)

    Talk to all on each and should all be OK

    Talk to player 2 from player 1 should be OK

    Talk to player 3 from player 1 should be OK

    Talk to player 1 from player 2 broken audio is heard on player 1 and player 3?

    Talk to player 3 from player 2 broken audio is heard on player 1 and player 3?

    Talk to player 1 from player 3 broken audio is heard on player 1 and player 2?

    Talk to player 2 from player 3 broken audio is heard on player 1 and player 2?

    I have not tried to implement PhotonVoice in my own app yet as wanted to see how it worked using your demo and this is as far as I have got...