# Voice chat in multiplayer

**URL:** <https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, voice-chat, unreal-engine, Multiplayer, question, Blueprint\
**Created:** [May 14, 2018, 1:46pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089 "2018-05-14T13:46:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![benhkvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benhkvr](https://forums.unrealengine.com/u/benhkvr)\
**Post date:** [May 14, 2018, 1:46pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/1 "2018-05-14T13:46:31Z")

</div>

Hi,

trying to get voice chat to work in a multiplayer game. This is all in blueprint.

I believe I did everything that is necessary:

- make sure the network session is created with the online subsystem (I use NULL)
- update DefaultGame.ini with:  
[/Script/Engine.GameSession]  
bRequiresPushToTalk=false
- update DefaultEngine.ini with:  
[Voice]  
bEnabled=true  
[OnlineSubsystem]  
DefaultPlatformService=Null  
bHasVoiceEnabled=true
- make sure each PC has got a headset connected and the audio devices are enabled/working
- also try setting ‘ToggleSpeaking’ to ‘true’, both in a ‘ExecuteConsoleCommand’ node in BP or using console at runtime
- test in a packaged application, not in PIE
- disable any applications that may be using the audio device (e.g. skype and such)

But voice chat is not working at all.

I still also get these errors which, judging by the forum posts I have found, appear to be normal. Initially:

- _LogVoiceEngine: Error: StopLocalVoiceProcessing: Ignoring stop request for non-owning user_  
and then after passing ‘ToggleSpeaking true’:
- _LogVoiceEngine: Error: StartLocalVoiceProcessing(): Device is currently owned by another user_

I can not find anything beyond these things that would help me. Have you guys got any pointers?

---

<div class="post-metadata">

**Author:** ![benhkvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benhkvr](https://forums.unrealengine.com/u/benhkvr)\
**Post date:** [May 23, 2018, 2:05pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/2 "2018-05-23T14:05:56Z")

</div>

Got it working.

In case anyone else has got the same problem: My set-up now covers all of the above settings/checks as posted, EXCEPT there must have been something wrong with how I used the ‘ToggleSpeaking’ command.

Once I passed ‘ToggleSpeaking 1’ for each player, voice chat was working. Only that command did actually need to be given, otherwise the voice chat did not work.

---

<div class="post-metadata">

**Author:** ![Seven\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seven\_1](https://forums.unrealengine.com/u/Seven_1)\
**Post date:** [November 20, 2018, 1:37am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/3 "2018-11-20T01:37:59Z")

</div>

Where to set ‘ToggleSpeaking’ command?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_772c07f2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_772c07f2](https://forums.unrealengine.com/u/anonymous_user_772c07f2)\
**Post date:** [December 28, 2018, 3:59am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/4 "2018-12-28T03:59:23Z")

</div>

in game press “~” to open command bar

---

<div class="post-metadata">

**Author:** ![cazetta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cazetta](https://forums.unrealengine.com/u/cazetta)\
**Post date:** [July 2, 2019, 6:13pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/5 "2019-07-02T18:13:15Z")

</div>

Are you using ‘SteamVoicePlugin’?

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [July 2, 2019, 6:20pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/6 "2019-07-02T18:20:21Z")

</div>

Or use the blueprint Console Command node with “ToggleSpeaking 1” in it? Would that work to make it automatic?

---

<div class="post-metadata">

**Author:** ![benhkvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benhkvr](https://forums.unrealengine.com/u/benhkvr)\
**Post date:** [July 3, 2019, 6:40am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/7 "2019-07-03T06:40:34Z")

</div>

Yes, I think I used a Console Command for that somewhere in the logic when everything is being set up at begin play.

I am not using the ‘SteamVoicePlugin’, everything is basic UE.

---

<div class="post-metadata">

**Author:** ![benhkvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benhkvr](https://forums.unrealengine.com/u/benhkvr)\
**Post date:** [July 3, 2019, 6:41am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/8 "2019-07-03T06:41:09Z")

</div>

No, everything is basic UE.

---

<div class="post-metadata">

**Author:** ![mastermikie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mastermikie](https://forums.unrealengine.com/u/mastermikie)\
**Post date:** [August 3, 2019, 12:41am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/9 "2019-08-03T00:41:46Z")

</div>

from all i read the voice chat requires you use sessions. is that what you did to get this far? also it suggested that it will work with the lan version of multiplayer where you have a listen server but not with a dedicated server or mmo type setup. any feedback on that info?

---

<div class="post-metadata">

**Author:** ![benhkvr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@benhkvr](https://forums.unrealengine.com/u/benhkvr)\
**Post date:** [August 5, 2019, 7:50am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/10 "2019-08-05T07:50:55Z")

</div>

I believe it’s true that a properly set up session is required to make voice chat work in an internet multiplayer application. I had a programmer help me on this and even though I don’t fully understand the details I think in the end he implemented an online subsystem that takes care of proper session setup and matchmaking so that voice chat works. Apologies, I don’t understand enough to be more specific.  
As far as LAN or Internet is concerned: that was my problem from the get go: in LAN my own setup worked (as detailed in my original post and my feedback below “Got it working…”) but not when running the app over the internet. For that to work I needed to have that custom online subsystem implemented. I went for that custom solution because I also wanted to avoid existing third party platforms like steam. This is all very experimental I guess and I would not suggest this is the best way to go. I myself have not yet taken this any further than to create a working demo.

---

<div class="post-metadata">

**Author:** ![Daijobu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daijobu](https://forums.unrealengine.com/u/Daijobu)\
**Post date:** [February 6, 2021, 3:02pm UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/11 "2021-02-06T15:02:58Z")

</div>

Hello,

You can use this plugin for voice chat, it works Cross-platform on Windows, Android, iOS. It works on both no session based game and session based game.

> **[Cross-Platform Voice Chat Pro in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/cross-platform-voice-chat-pro)**
>
> Cross-platform Voice Chat for Windows, Android, iOS, Oculus, Linux

You can do global, team and proximity voice chat.  
It is optimized with the usage of opus codec,  
and you can choose microphone sampling rate and number of channels, you can also get the raw Pcm data of microphone input.

---

<div class="post-metadata">

**Author:** ![zblogin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zblogin](https://forums.unrealengine.com/u/zblogin)\
**Post date:** [June 7, 2021, 4:31am UTC](https://forums.unrealengine.com/t/voice-chat-in-multiplayer/425089/12 "2021-06-07T04:31:40Z")

</div>

Hello!  
Can we exchange this voice chat?I don’t know how to contact you, but I can leave my email address([1281688965@qq.com](mailto:1281688965@qq.com)).I want to contact you by email.
