Steam Voice API VOIP ?

正在查看此主题的用户

I think it would be pretty cool to have a VOIP attached to player characters with the ability to communicate would really help out teamwork and make it more fun. I was thinking this could probably be modded in using steam API, but why not add it as part of the base experience

  1. Capture the audio input stream
  2. Compress the stream
  3. Send the compressed audio over the network (peer-to-peer) to all player agents in range. (unless that player has muted you, or has VOIP off)
  4. Decompress the audio on the other end and create a sound source at the agents head bone in game.
  5. Set the sound source volume based on the distance from the player
  6. Teamwork!
"Hey Look out! CAV Behind you!!!"
 
后退
顶部 底部