HolyLib Wiki

voicechat.ProcessVoiceData

  voicechat.ProcessVoiceData( ClientArg(CBaseClient or Player or number) ply, VoiceData voiceData )

Description

Let's the server process the VoiceData like it was received from the client.
This can be a bit performance intense.

This will ignore the set player slot!

Recently Changed

This was recently changed in version (0.8 - DEV).

The ply argument was changed from previously accepting only Player to now accepting all ClientArg

Arguments

1ClientArg(CBaseClient or Player or number) ply

The Player that should be used to process the voice data.

2VoiceData voiceData

The Voice data to process