Photon voice with unity - Audio change output
Options
Hello,
I have a project with photon voice in Unity (2018.1). I've got a question about photon voice and the audio output.
After run an exe or Unity editor, if i change the audio output in the OS (Win 10), the audio stay on the first selected audio output.
For info without photon, Unity automaticaly change audio output accordingly OS selection.
If someone have an idea how to switch audio output at runtime, i take all idea.
Nicolas
I have a project with photon voice in Unity (2018.1). I've got a question about photon voice and the audio output.
After run an exe or Unity editor, if i change the audio output in the OS (Win 10), the audio stay on the first selected audio output.
For info without photon, Unity automaticaly change audio output accordingly OS selection.
If someone have an idea how to switch audio output at runtime, i take all idea.
Nicolas
0
Comments
-
Hi @Softelectro,
We use Unity's built-in AudioSource component for everything AudioPlayback on most platforms (Windows included).
So we rely on Unity for this and we relay received frames to Unity.Unity automaticaly change audio output accordingly OS selectionAre you sure about this? what Unity version did you use to test this and what did you test exactly? My internal tests and the internet suggest the opposite.
You can use TestVoice scene and DebugEcho on for tests.0 -
Hello,
I redo the test and it's works Unity 2018 and photon voice 1.15.
Last test was doing xith Unity 2017 and photon voice 1.13.
Nicolas
0 -
0