I'm using Photon Voice feature but I get a lot of echo even on the demo. I need to use the speaker so using headphones is not a solution for me. I have try to raise the voice detection value but it barely helps. Someone have the same problem? Im testing the app on mobile and pc.
Thank you in advance!
EDIT: Removing the audio source of our own prefab, helps a lot but don't solve the problem on some scenarios.
To remove audio source add on class CharacterInstantiation
o.GetComponent<AudioSource> ().enabled = false;
Like this
public new void OnJoinedRoom() {
if (this.PrefabsToInstantiate != null) {
GameObject o = PrefabsToInstantiate[(PhotonNetwork.player.ID - 1) % 4];
//Debug.Log("Instantiating: " + o.name);
Vector3 spawnPos = Vector3.zero;
if (this.SpawnPosition != null) {
spawnPos = this.SpawnPosition.position;
}
Vector3 random = Random.insideUnitSphere;
random = this.PositionOffset * random.normalized;
spawnPos += random;
spawnPos.y = 0;
Camera.main.transform.position += spawnPos;
o = PhotonNetwork.Instantiate(o.name, spawnPos, Quaternion.identity, 0);
o.GetComponent<AudioSource> ().enabled = false;
if (CharacterInstantiated != null) {
CharacterInstantiated(o);
}
}
}