IClient
Learn how IClient changed in the upgrade.
Read time 1 minuteLast updated 2 days ago
Various functions in the VivoxVoiceChat module are replaced by functionality in IClient. For code examples and usage notes, see Initialize the voice client object. The following list provides the name of the function in the VivoxVoiceChat module, the comparable function in VivoxCore, and supplemental information for completing a version switch.
-
is replaced by
Initialize()Initialize(VivoxConfig config = VivoxConfig())- You can call Initialize() from the IClient reference that is obtained when the module is loaded.
- You can call Initialize() with no arguments or with a custom VivoxConfig, which allows for the customization of various options that control how the client operates, including changing the number of debug logs that are produced.
-
is replaced by
UnInitialize()Uninitialize()- You can call from the IClient reference after the user is ready to completely disconnect.
Uninitialize()
- You can call
-
is replaced by
IsInitialized()Initialize(VivoxConfig config)- IsInitialized does not exist within VivoxCore for Unreal. However if Initialize() is called in any capacity on an already initialized IClient, it returns .
VxErrorAlreadyInitialized
- IsInitialized does not exist within VivoxCore for Unreal. However if Initialize() is called in any capacity on an already initialized IClient, it returns
-
is replaced by
GetAvailableInputDevices()AudioInputDevices()- returns a list of FString Device Names, and AudioInputDevices() returns a list of type IAudioDevice.
GetAvailableInputDevices()
-
is replaced by
GetAvailableOutputDevices()AudioOutputDevices()- GetAvailableOutputDevices() returns a list of FString Device Names, and AudioOutputDevices() returns a list of type IAudioDevice.