
You are viewing a potentially older version of this package. View Latest Version
PhotonV4ServerVoiceFix
Fixes Voice Chat for self hosted servers running on Photon Server V4 (OnPremise)Photon V4 Server Voice Fix
Fixes voice chat on self-hosted Photon Server V4 (On-Premise) setups.
Everyone in the lobby needs this mod, otherwise players without it can't send voice.
-
Works with:
- SelfHostedPhoton
- PhotonServerSettings
What it does
R.E.P.O's voice chat packs audio frames in a format (ByteArraySlice) that the protocol used against a V4 server can't serialize, so every frame fails with cannot serialize(): ExitGames.Client.Photon.ByteArraySlice and nobody hears anything. This mod converts the frames to plain byte arrays before they are sent and switches voice to the classic sequenced delivery modes.
Only voice frames are touched; normal game networking is left alone.
Config
BepInEx/config/com.gil.photonvoicefix.cfg
ForceSequencedDelivery(defaulttrue): send voice as Unreliable/Reliable instead of the Unsequenced modes.LogVoiceStats(defaulttrue): log frames sent/received every 5 seconds while voice is active. Handy for troubleshooting; turn off for a quieter log.
Tested On
- Photon Server V4 (
v4-0-29-11263) - R.E.P.O
v0.4.4.3
Important
If you are using Photon Server V5 (paid), you do not need this mod.