This document is about: VOICE 2
SWITCH TO

Voice - Quantum Integration

Introduction

This tutorial aims to help understanding the basic setup that is necessary for having Voice running on Quantum, since there are a few specific details regarding the package version and Photon Realtime.

Photon Voice version

For Quantum 3 projects, the version to be installed is the Photon Voice SDK Realtime5, which comes with Photon Realtime 5.
For Quantum 2 projects, the required version is Unity Voice SDK, which comes with Photon Realtime 4.
Both Voice versions can be downloaded at the SDKs downloads page.

Please download the version that suits the Quantum project version.

Importing the package

On the Quantum project, when importing the Photon Voice package, disable the import of Photon Realtime since the Quantum SDK already comes with it, and importing again would cause a clash.
It is also possible to disabling the import of Photon Chat in case the project doesn't need it.

Disable import of Photon Realtime and Photon Chat.

Voice App Id

When setting up Photon Voice, it is not possible to re-use the same App Id from the Quantum application. Instead, it is necessary to create a Voice-specific App Id which can be created directly in the user dashboard.

Create a Voice application.

Then, paste the App Id into the project's Voice App Settings asset, in the App Id Voice field.

Suggested Workflow

Quantum technical samples includes one that demonstrates the usage of Photon Voice for a proximity based speaker and listener. Check the Voice Chat sample for more information.

Back to top