Quantcast
Channel: Photon Voice — Photon Engine
Viewing all 671 articles
Browse latest View live

Photon Voice not loud enough.

$
0
0
Hey there.
I'm using Photon Voice with Oculus Rift and HTC Vive and I've run into a problem with loudness. The voice chat is borderline unhearable .

I've checked the Rift and Vive microphones on both machines to make sure they are running with max sensitivity. I made sure that Photon Voice audiosources are set to 2D to remove any spatial falloff. The volume is set to 1 (max in unity). I tried running calibration after the player prefab is spawned, but this changes nothing. I've reduced the volume of all other audiosources in my game by 0.5, but this is still not enough to make the voicechat clearly legible.

Is there a way I can increase the volume of the Voice Speaker? It would be best if there was a multiplier of base setting, kinda like PlayOneShot works in audio source.


How to use earpiece button to enable voice input.

$
0
0
How can i use earpiece microphone button to exchange audio instead of normal on screen button

Could not find RPC with index:

$
0
0
Debug.LogError("Could not find RPC with index: " + rpcIndex + ". Going to ignore! Check PhotonServerSettings.RpcList");

Why?

PUNVoice: Attempt to create multiple instances of PhotonVoiceSettings

$
0
0
PUNVoice: Attempt to create multiple instances of PhotonVoiceSettings.

Why? How to solve this?

How to talk from all player to one player?

$
0
0
I just want all the players to talk to the player 1 which joins and creates the room. Using the Push to talk btn script. How to get the players who join only talk to the first player and not others using the script.

OperationResponse 230: ReturnCode: 32767 (Empty application id)

$
0
0
I imported "Photon Unity Network Voice Package" from asset store to a new empty project. Build and run standalone application with my AppID, so there are two players in app screen, but there is no sounds from mic. What have i to do? When i push "Voice connect", there is an error:
PUNVoice: OperationResponse 230: ReturnCode: 32767 (Empty application id). Parameters: {} Server: NameServer Address: ns.exitgames.com:5058
UnityEngine.Debug:LogError(Object)
UnityVoiceClient:DebugReturn(DebugLevel, String) (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:328)
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:OnOperationResponse(OperationResponse) (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:1813)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:Service()
ExitGames.Client.Photon.LoadBalancing.LoadBalancingClient:Service() (at Assets/Plugins/PhotonLoadbalancingApi/LoadBalancingClient.cs:767)
ExitGames.Client.Photon.Voice.Client:Service() (at Assets/Plugins/PhotonVoiceApi/Client.cs:409)
PhotonVoiceNetwork:Update() (at Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs:187)



Second Player joining in ptt demo no sound

$
0
0
The second player joining the room is not giving any sound output. In the default animation I can clearly see that the sound is working but no audio is there. I have added two audio listeners one in player and other in the room. Player1 to all player or individual is working but not from the players to the first player or to other players (not player 1) Previously it was working but not now. Before I tried adding ptt private btn gameobject from the prefab for individual talk btn. I removed thinking it caused the error but it is not working even after removing. what should I do

Sound echos too much

$
0
0
I added btns for connection for voice between 3 players where the first player creates and joins the room and the other players join simultaneously. Now in first player, he is able to talk to all at once and also the rest 2 separately like the PTT demo in photon voice. The second and the third player only can talk to first by subscribing to audio group 12 and 13. The initial setup works but when launched on android platform it echo's in its own voice. The first player is constantly echoing after the sec or third joins. The echo is able to stop only when I click on the btns(talk to all or separate) to form connection(btn clicks from all players). What is the problem here and how do I fix it. Please ask if it is not clear.

Error CS0246: The type or namespace name VPxCodec' could not be found?

$
0
0
When I input the Photon Voice, it's getting this error, any suggestion?
Thanks!

Photon Voice Encryption

$
0
0
In our application, we have rooms of people talking to each other, but the communication shouldn't leak outside of that room, including to external parties who might intercept the network data. I understand with PUN I can secure RPCs using RpcSecure, but what about the voice?

Thanks in advance.

Issues getting Voice to work

$
0
0
Hello all,

As the title suggest I am having trouble getting Photon Voice working in my project. I can connect to a PUN room and a Voice room just fine, I am even delaying the instantiation of player character until both rooms are connected.

I have the VoiceSpeaker and VoiceRecorder on my player prefab. I can hear my own voice just fine with the echo mode set to true on the recorder, however when another player joins voices cannot be heard in either direction.

I am using Unity 5.5 along with Voice 1.9 and PUN 1.84. I am not receiving any error messages in the log however whenever I check to see if the speaker is linked it always returns false, even after checking directly after the link remote server method is called.

I am at a loss here. Any thoughts?

EDIT: Upon further testing it seems the speaker is never being linked. IsVoiceLinked always returns false.

Why does audio come out of earpiece instead of speaker when using Photon Voice on iPhone builds ?

$
0
0
Why does audio come out of earpiece instead of speaker when using Photon Voice on iPhone builds ?

MicWrapper does not support suggested frequency !

$
0
0
Hi,

After many tries, I still have this issue since ive downloaded photon voice. Please help

" MicWrapper does not support suggested frequency 24000 (min: 44100, max: 44100). Setting to 44100"

And,

"PUNVoice: [PV] Local voice #1 audio source frequency 44100 and encoder sampling rate 24000 do not match. Resampling will occur before encoding."

UDP cannot get connected

$
0
0
Hi, I am new with Photon. I am now using Photoncloud with Unity. I am using a university network. The admin has already open the port from 5055 to 5058 of UDP-Client. Still I cannot get it connected to the UDP when I choose UDP in PhotonServerSettings. But when I choose TCP, it works smoothly. However PhotonVoice works only with UDP.

Does anyone have any idea, which part am I missing?

IOS problem (stopped transmitting from mic)

$
0
0
Hello,

We currently have an issue with IOS.

After some time of use, the IOS stops transmitting audio.

IOS continues to hear other people, but it is not transmitting anymore.

Even tried to PhotonVoiceNetwork.Reconnect() or setting Transmit to true/false, but the problem still persists.
Leaving the room and joining again also does not solve the issue.

Only closing the application, reopening and joining again solves it.
But after until after some time the issue happens again.

Anyone had this problem?

PUN Voice 1.4 Release

$
0
0
Where are the release notes for the Unity asset store update of PUN Voice?

Or, what are the changes from the previous version?

Thanks

jules

Do I have to pay double for Photon Voice and PUN?

$
0
0
Hello,
I'm currently using two different app IDs in my application. One for PUN and another for Photon Voice. Do I need to pay for 100CCU for both in order to get 100CCU in my game? When I use the same app ID for voice and PUN, then my CCU double counts. Any help is appreciated.

1.91 Update Duplicate Scripts

$
0
0
Just updated PhotonVoice to 1.9 and have realized that adding it into my Unity project causes script conflicts due to duplicate scripts.

My project currently contains the 'Photon Unity Networking' Unity store asset and the 'PUN Voice' Unity store asset. The two assets have different folder structures on import, which means many scripts (LoadBalancingPeer.cs, FriendInfo.cs, AudioClipWrapper.cs, etc) are in more than one location in the project (namely, Plugins/LoadBalancingAPI and PhotonUnityNetworking/Plugins/PhotonNetwork). The 'PUN Voice' asset alone imports with these duplicate scripts.

I'd like to clean my project so there aren't any script conflicts (or duplicates, for that matter), but I'm not sure which folder structure I need to go with. Any advice?

Photon voice and UWP Win10

$
0
0
I try to compile a Unity project for UWP Win10 target (Hololens), but i've got an error during building.
Assets\Plugins\PhotonVoiceApi\Core\VoiceClient.cs(949,25): error CS1729: 'Thread' does not contain a constructor that takes 1 arguments

I've try differentes answers find on net, but nothing works. Someone have an idea to correct this error;
Thanks in advance

Unity 5.6.1
Photon PUN free 1.84 (latest version on asset store)
Photon voice ver 1.91 (latest version on asset store)

Photon Voice High CPU Usage

$
0
0
Hello,
In testing out our Photon Voice integration, we noticed that both Unity and built stand alone executables are running at a very high CPU (150%-300%). I have noticed the same exact spike in CPU when testing out the DemoVoice project provided with the Photon Voice download.

I was wondering if anybody had advice on how to troubleshoot what might be the issue? I'm not seeing anything in the logs that indicates what might be causing the problem, but perhaps I'm not looking for the right log statements. If there is anything I can provide which would help, please let me know and I'll try to see what I can find.

Thanks,

Build:
- Unity 5.6.1f1
- Client Build: macOS 10.12.5
- Server: Self hosted Photon (Photon-OnPremise-Server-SDK_v4-0-29-11263)
- Photon Voice: v1.91 (according to the changelog.txt file)
Viewing all 671 articles
Browse latest View live