Initialize the voice client object
You must create and initialize the voice client before other Vivox SDK actions can take place. During the voice client initialization process, the Vivox SDK sets up and starts all of its different subsystems. This can cause additional shared libraries to be loaded, and allows developers to customize a variety of Vivox SDK options before connecting to Vivox services. For example, a developer can select between available codecs, audio ducking settings, and logging level.
The following code displays an example of the process for obtaining and initializing the voice client:
/* . . . */
// IClient *MyVoiceClient in header.
MyVoiceClient = MyVoiceModule->VoiceClient();
MyVoiceClient->Initialize();
/* . . . */
Note: You do not need to wait for any message or callback to this method before the game can sign in to Vivox.