Morning all,
I've been playing around with the new Microphone class is Unity 3.5 and managed to get it working in 3D over a network connection. If the player prefab is local then it starts receiving from the Microphone and send the samples each frame via RPC to the other clients. As it is, a new AudioClip is created and played each frame at the client end, which I'm not sure is the best way to do this.
I'm posting for two reasons:
1. To share the code if other people are trying...
Microphone Network Test
I've been playing around with the new Microphone class is Unity 3.5 and managed to get it working in 3D over a network connection. If the player prefab is local then it starts receiving from the Microphone and send the samples each frame via RPC to the other clients. As it is, a new AudioClip is created and played each frame at the client end, which I'm not sure is the best way to do this.
I'm posting for two reasons:
1. To share the code if other people are trying...
Microphone Network Test