Update sample app environment and API values

Before you run the Unreal Shooter Game sample app in the Unreal Editor or you build an app from the sample source code, you must update several environment and API values in VivoxGameInstance.cpp and VivoxToken.cpp. By updating these values, you can package and test Unreal Shooter Game (Source) in the Unreal editor.

Note: Vivox features are not functional when playing in the Unreal Editor because of how the Unreal Shooter Game project is built. To test the Unreal Shooter Game sample app, you must package the project.

Find the API endpoint (server), Domain, Issuer, and Secret Key values for your app, in the Unity Cloud Dashboard.

Use the values from the VIVOX API INFO section to replace the following default values in VivoxGameInstance.cpp and VivoxToken.cpp.

  1. In VivoxGameInstance.cpp, update the following values:

    • Set VIVOX_VOICE_SERVER to the API Endpoint value.
    • Set VIVOX_VOICE_DOMAIN to the Domain value.
    • Set VIVOX_VOICE_ISSUER to the Issuer value.
  2. In VivoxToken.cpp, set VIVOX_VOICE_KEY to the Secret Key value.