Photon voice and salsa

Options
Hello,
I am currently setting a scene where players can here each other combined with a lipsync of their avatar. In my first settings, I correctly use photon voice so that I can hear anotherplayer and see his lips moving nicely. My problem occurs when I would like to see myself and thus see my lips moving too. Indeed, in order to do that I need to add an AUdioSource in the component of my prefab with this simple code :
if (myPV.IsMine)
{
if(GetComponent<AudioSource>() == null)
{
gameObject.AddComponent<AudioSource>();
}
}

This works in the way that the lips of my own avatar start moving BUT from there the Recorder of photon Voice acts like it can't reach the microphone anymore. (I guess because it is using the same mic as the audio source of Salsa)

Would anyone have any idea of how I could fix this issue ?

Thanks anyway for reading this,

Florian

Comments