API functionality of VoiceChat Library (VCT)

Initialization, Termination, Main Loops

VCT_Init Initializes the Library.
VCT_Cleanup Executes the Library termination process.
VCT_Main Executes the main loop in the Library.
VCT_HandleData Processes the Library data.

Simple Session Protocol

VCT_CreateSession Creates a new session.
VCT_DeleteSession Deletes a session.
VCT_Request Issues a request of SSP.
VCT_Response Issues a response of SSP.
VCT_SetTransceiverMode Determines whether to act as a server or a client in Transceiver Mode.
VCT_SetTransceiverServer Sets a server in Transceiver Mode.
VCT_SetTransceiverClients Specifies AID of a client machine in Transceiver Mode.
VCT_Contact Issues a request for talk in Transceiver Mode.
VCT_Release Terminates the conversation in Transceiver Mode.
VCT_SetTransceiverTimeout Sets the timeout value in Transceiver Mode.
VCT_AddConferenceClient Adds a client to a conference.
VCT_RemoveConferenceClient Removes a client from a conference.

Audio Streaming

VCT_SendAudio Queues the audio data to a transmitting queue.
VCT_ReceiveAudio Retrieves the audio data in a receiving buffer.
VCT_ReceiveMixedAudio Retrieves the audio data in a receiving buffer after the software mixes the data.
VCT_SetCodec Changes the codec.
VCT_GetCodec Retrieves the currently set codec.
VCT_StartStreaming Starts the audio streaming process.
VCT_StopStreaming Stops the audio streaming process.
VCT_GetAudioInfo Retrieves the audio streaming data's current information.

VAD (Voice Activity Detection)

VCT_EnableVAD Turns on or off VAD.
VCT_GetVADStatus Runs VAD by directly specifying audio data.
VCT_SetVADReleaseTime Sets a VAD release time.
VCT_GetVADInfo Retrieves the VAD inside parameters.
VCT_ResetVAD Resets the VAD inside parameters.

Variables and Structures

VCTConfig Structure for initializing VoiceChat Library.
VCTSession Structure for SSP session information.
VCTAudioInfo Structure for audio streaming information.
VCTVADInfo Structure for saving VAD-related information.
VCTRequestCode Enumeration of SSP request codes.
VCTResponseCode Enumeration of SSP response codes.
VCTCodec Enumeration of audio codecs.
VCTVADStatus Enumeration to show VAD conditions.
VCTMode Enumeration to show VoiceChat Library modes.
VCTEvent Enumeration to show SSP events.
VCTEventCallback Definition of a callback when an SSP event occurs.
VCTState Definition to show the internal session conditions.
Error code Error code list.