Push To Talk

How to transfer audio Push To Talk from player to player
What is required code


  • Get a reference to the PhotonVoiceRecorder for example
    rec = GetComponent<PhotonVoiceRecorder>();

    To turn push to talk on do this
    rec.Transmit = true;

    To turn it off do this rec.Transmit = false;

    Make sure "auto transmit" is set to false on the Voice Settings or else it will be active at the start
Sign In or Register to comment.