Access Microphone samples for local player

Options
Heyo,

I'm trying to make some visual effects that react to the player's own voice. I need to get audio sample data from the local microphone, but it looks like Photon Voice has already taken ownership of this object. If I try to use Microphone.Start with the same device, I get empty audio buffers from it...

It looks like Photon Voice has a LocalVoice object that is actually processing the microphone stream. Is there a way to get audio samples from it easily? I can hack up Photon Voice to add accessor methods, but I'd have to keep applying them after each Photon Voice update. I'm hoping there's an easier solution.

Max

Comments