A client can record all voice input and output. Client-side voice recording on all current server connections can be started and stopped with:
unsigned int ts3client_startVoiceRecording( | ) ; |
unsigned int ts3client_stopVoiceRecording( | ) ; |
When receiving or sending raw voice data, the following event is called and allows the client to handle the data, for example saving it to disk:
void onVoiceRecordDataEvent( | data, | |
dataSize) ; |
const float* data
;unsigned int dataSize
;Parameters
data
Raw voice data buffer.
dataSize
Size of raw voice data buffer.