<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>voice chat Archives - Couch Learn</title>
	<atom:link href="https://couchlearn.com/tag/voice-chat/feed/" rel="self" type="application/rss+xml" />
	<link>https://couchlearn.com/tag/voice-chat/</link>
	<description>Detailed Game Programming Tutorials</description>
	<lastBuildDate>Sun, 10 Jan 2021 23:54:52 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://couchlearn.com/wp-content/uploads/2020/05/cropped-logolarge-32x32.png</url>
	<title>voice chat Archives - Couch Learn</title>
	<link>https://couchlearn.com/tag/voice-chat/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Common Voice Chat Fixes in Unreal Engine 4</title>
		<link>https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/</link>
					<comments>https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Sun, 22 Dec 2019 11:59:26 +0000</pubDate>
				<category><![CDATA[Hard Difficulty]]></category>
		<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[Voice Chat]]></category>
		<category><![CDATA[positional voip]]></category>
		<category><![CDATA[proximity voip]]></category>
		<category><![CDATA[ue4 voice chat]]></category>
		<category><![CDATA[ue4 voip]]></category>
		<category><![CDATA[ue4 voip fix]]></category>
		<category><![CDATA[unreal engine]]></category>
		<category><![CDATA[unreal engine voice chat]]></category>
		<category><![CDATA[voice chat]]></category>
		<category><![CDATA[voip]]></category>
		<guid isPermaLink="false">https://couchlearn.com/?p=974</guid>

					<description><![CDATA[<p>This guide will run through common voice chat fixes in Unreal Engine 4. These fixes are for both normal voice chat and positional voice chat. <a class="mh-excerpt-more" href="https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/" title="Common Voice Chat Fixes in Unreal Engine 4">[...]</a></p>
<p>The post <a href="https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/">Common Voice Chat Fixes in Unreal Engine 4</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This guide will run through common voice chat fixes in Unreal Engine 4.<br><br>These fixes are for both <a href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/">normal voice chat</a> and <a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/">positional voice chat.</a><br><br><em>We will update this guide with new fixes as problems are reported.</em><br><br>If you have any issues with the voice chat comment down below as we try to help everyone!</p>



<h3 class="wp-block-heading">Network Replication Advice</h3>



<p>When dealing with multiplayer games, bandwidth and packet sizes have to be considered.<br><br>Sending too much too quickly (multi cast events on Event Tick) <strong>impacts network performance</strong> and prevents voice chat from being sent as the network is too saturated.<br><br>Make sure you consider every replicated variable, event and blueprint node that is run over the network. <br><br><strong>Many problems can be fixed by optimizing your networking replication!</strong></p>



<h4 class="wp-block-heading">Common Issues and Fixes<br><br>Players can&#8217;t hear voice chat after joining (UE 4.25)</h4>



<ul class="wp-block-list"><li>Run the &#8220;Register Remote Talker&#8221; function on begin play for your character actors. Suggested by CouchLearn user pftq</li></ul>



<p>This can be done with C++ or the Advanced Sessions Plugin.<br><br>https://docs.unrealengine.com/en-US/API/Plugins/OnlineSubsystem/Interfaces/IOnlineVoice/RegisterRemoteTalker/index.html </p>



<h4 class="wp-block-heading">Voice chat audio is not following the character</h4>



<ul class="wp-block-list"><li>Check your character/pawn is replicated and has replicate movement enabled.</li></ul>



<h4 class="wp-block-heading">No voice chat audio</h4>



<ul class="wp-block-list"><li>Follow <a href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/">our voice chat tutorial</a> exactly and make sure to double check each step.</li><li>Make sure you are <a href="https://couchlearn.com/multiplayer-sessions-in-your-unreal-engine-4-game/">using the multiplayer session system.</a></li><li>Make sure that <strong>both players</strong> have a working microphone plugged in.<br><br><strong>If those steps didn&#8217;t fix the problem try:</strong></li><li>Following the &#8220;Stuttering or Robotic Sounding Voices&#8221; steps.</li></ul>



<h4 class="wp-block-heading">Stuttering or Robotic Sounding Voices</h4>



<ul class="wp-block-list"><li>Reducing the number of replicated events running on Event Tick and on timers. </li><li>Make sure only essential events are replicated.</li><li>Reduce the amount of multi cast events.</li><li>Remove redundant parameters from replicated events. </li><li>Remove audio and texture parameters from multi cast events.</li><li><a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/#Microphone_Sensitivity">Lower your mic threshold value by -5</a> </li></ul>



<h4 class="wp-block-heading">Voice chat only works on certain levels</h4>



<ul class="wp-block-list"><li>Make sure your other maps have an actor that is setup for voice chat on a key press.</li><li>When changing levels make sure to use the <a href="https://docs.unrealengine.com/en-US/Gameplay/Networking/Travelling/index.html">servertravel command</a><br><br><strong>If those steps didn&#8217;t fix the problem try:</strong> </li><li>Following the &#8220;Stuttering or Robotic Sounding Voices&#8221; steps. <br>&#8211; <em>Some levels in your game may include actors have poor replication performance.</em></li></ul>



<h4 class="wp-block-heading">Positional voice chat isn&#8217;t working</h4>



<ul class="wp-block-list"><li>Follow <a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/">our positional voice chat tutorial</a> exactly and make sure to double check each step.</li><li>Make sure you are <a href="https://couchlearn.com/multiplayer-sessions-in-your-unreal-engine-4-game/">using the multiplayer session system.</a> </li><li><a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/#Microphone_Sensitivity">Lower your mic threshold value by -5</a></li><li>Make sure that <strong>both players</strong> have a working microphone plugged in.</li><li>Increase the volume of the VOIP audio class. </li><li>Ensure your VOIPTalker&#8217;s attach to component is set.</li><li>Replicated your VOIPTalker enabled actor.</li><li>Make sure your VOIPTalker <a href="https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/">sound attenuation is assigned and setup correctly.</a><br><br><strong>If those steps didn&#8217;t fix the problem try:</strong> </li><li>Following the &#8220;Stuttering or Robotic Sounding Voices&#8221; steps. </li></ul>
<p>The post <a href="https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/">Common Voice Chat Fixes in Unreal Engine 4</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/common-voice-chat-fixes-in-unreal-engine-4/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
			</item>
		<item>
		<title>How to use VOIPTalker Proximity Voice Chat using only Blueprints in your Multiplayer Unreal Engine 4 game</title>
		<link>https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/</link>
					<comments>https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Fri, 19 Jul 2019 01:41:30 +0000</pubDate>
				<category><![CDATA[Medium Difficulty]]></category>
		<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[Voice Chat]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[medium]]></category>
		<category><![CDATA[medium difficulty]]></category>
		<category><![CDATA[positional voip]]></category>
		<category><![CDATA[proximity voip]]></category>
		<category><![CDATA[steam]]></category>
		<category><![CDATA[steam subsystem]]></category>
		<category><![CDATA[ue4]]></category>
		<category><![CDATA[unreal engine]]></category>
		<category><![CDATA[voice chat]]></category>
		<category><![CDATA[voip]]></category>
		<guid isPermaLink="false">https://couchlearn.com/?p=380</guid>

					<description><![CDATA[<p>Voice Chat is a staple of modern multiplayer games. Many games include more open world aspects and the majority of players set their focus on <a class="mh-excerpt-more" href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/" title="How to use VOIPTalker Proximity Voice Chat using only Blueprints in your Multiplayer Unreal Engine 4 game">[...]</a></p>
<p>The post <a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/">How to use VOIPTalker Proximity Voice Chat using only Blueprints in your Multiplayer Unreal Engine 4 game</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Voice Chat is a staple of modern multiplayer games. <br><br>Many games include more open world aspects and the majority of players set their focus on having positional Voice Chat. As a result, this audio data is attenuated (lowered in volume) over distance.  </p>



<h3 class="wp-block-heading">Is VOIPTalker Voice Chat Difficult?</h3>



<p>No, not at all!<br><br>Implementing Positional Voice Chat into your UE4 multiplayer game only using blueprints is simple and requires very little knowledge of how the backend C++ code works.<br><br>Adding this system to my own project initially was very difficult due to the lack of resources available from both the community and Epic themselves on their wiki.<br><br>As I don&#8217;t want anyone to follow the painful nights of troubleshooting like it did, I have created this guide for the UE4 community to enhance their own projects. </p>



<h3 class="wp-block-heading">Examples of proximity and positional voice chat&nbsp;</h3>



<ul class="wp-block-list"><li>Rust <a href="https://rust.facepunch.com/">https://rust.facepunch.com/</a> developed by Facepunch Studios</li><li>PUBG <a href="https://www.pubg.com/">https://www.pubg.com/</a> developed by PUBG Corporation</li><li>Fortnite <a href="https://www.epicgames.com/fortnite/en-US/home">https://www.epicgames.com/fortnite/en-US/home</a> developed by Epic Games</li></ul>



<h2 class="wp-block-heading">Requirements</h2>



<ul class="wp-block-list"><li><a href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/">Unreal Engine’s basic voice chat system fully working.</a></li></ul>



<ul class="wp-block-list"><li>Unreal Engine version 4.19 and above.</li></ul>



<ul class="wp-block-list"><li><a href="https://couchlearn.com/how-to-enable-the-new-audio-engine-in-your-unreal-engine-4-project/">The new audio mixer and associated plugins be enabled. </a> (If not using Unreal Engine 4.24)</li></ul>



<p>Complete these requirements to move onto adding the VOIPTalker component.<br></p>



<h2 class="wp-block-heading">The VOIPTalker Component</h2>



<h3 class="wp-block-heading">Adding the Component</h3>



<p>The VOIPTalker component intercepts voice data and runs it through any effects or attenuation thus preventing player voices playing directly to the players.<br><br>Firstly, on your character blueprint, type create the blueprint node named Add VOIPTalker and attach it to your Begin Play event. </p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="512" height="136" src="https://couchlearn.com/wp-content/uploads/2019/07/image-41.png" alt=" Adding the voice chat component" class="wp-image-487" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-41.png 512w, https://couchlearn.com/wp-content/uploads/2019/07/image-41-300x80.png 300w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>From the return value pin, promote the new VOIPTalker to a new variable. Call this variable something relevant as we will use this again soon. I named this VOIP.</p>



<figure class="wp-block-image"><img decoding="async" width="717" height="142" src="https://couchlearn.com/wp-content/uploads/2019/07/image-42.png" alt="Adding the voice chat component and promoting it to be used later" class="wp-image-489" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-42.png 717w, https://couchlearn.com/wp-content/uploads/2019/07/image-42-300x59.png 300w" sizes="(max-width: 717px) 100vw, 717px" /></figure>



<h3 class="wp-block-heading">Validating the Player State</h3>



<p>Next, connected to your Add VOIPTalker node, we need check if the PlayerState is valid and as a result, preventing failure during VOIPTalker&#8217;s initialisation.</p>



<figure class="wp-block-image"><img decoding="async" width="482" height="288" src="https://couchlearn.com/wp-content/uploads/2019/07/image-44.png" alt="Checking for a valid player state" class="wp-image-493" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-44.png 482w, https://couchlearn.com/wp-content/uploads/2019/07/image-44-300x179.png 300w" sizes="(max-width: 482px) 100vw, 482px" /></figure>



<p>There are far more pretty ways of doing this check but reliability and simplicity is key for understanding how this system works.<br><br>At this step, the code should look like this. </p>



<figure class="wp-block-image"><img decoding="async" width="1024" height="281" src="https://couchlearn.com/wp-content/uploads/2019/07/image-43-1024x281.png" alt="Positional voice chat blueprints so far" class="wp-image-490" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-43-1024x281.png 1024w, https://couchlearn.com/wp-content/uploads/2019/07/image-43-300x82.png 300w, https://couchlearn.com/wp-content/uploads/2019/07/image-43-768x211.png 768w, https://couchlearn.com/wp-content/uploads/2019/07/image-43.png 1035w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Registering Voice Chat data to the Player State </h3>



<p>VOIPTalker in its current setup, can&#8217;t receive any voice data.<br><br>We now need to assign the correct PlayerState.  </p>



<figure class="wp-block-image"><img decoding="async" width="277" height="171" src="https://couchlearn.com/wp-content/uploads/2019/07/image-45.png" alt="Registering positional voice with the player state" class="wp-image-498"/></figure>



<p>Using the Register with Player State node, we can assign the target pin to the promoted variable we created earlier. In the earlier steps we named this VOIP.<br><br>In the owning state pin, the PlayerState variable needs to be connected. </p>



<h3 class="wp-block-heading">Microphone Sensitivity</h3>



<p>When using this system I found that the microphone sensitivity was far to low to sustain voice chat without stuttering or cutting out entirely.<br><br>To fix this simply create a Set Mic Threshold node and set it to -1. </p>



<figure class="wp-block-image"><img decoding="async" width="248" height="126" src="https://couchlearn.com/wp-content/uploads/2019/07/image-48.png" alt="Setting the voice chat microphone sensitivity" class="wp-image-505"/></figure>



<h3 class="wp-block-heading">VOIPTalker Voice Settings</h3>



<p>We are almost there!<br><br>VOIPTalker by default has no effects, location for the sound to originate from or attenuation preset.<br><br>From the VOIP variable, drag and type set settings to create this node shown below. </p>



<figure class="wp-block-image"><img decoding="async" width="362" height="250" src="https://couchlearn.com/wp-content/uploads/2019/07/image-49.png" alt="Voice chat audio settings" class="wp-image-508" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-49.png 362w, https://couchlearn.com/wp-content/uploads/2019/07/image-49-300x207.png 300w" sizes="(max-width: 362px) 100vw, 362px" /></figure>



<p>This node gives us the ability to define the settings we want for our voice chat.<br><br>Set Component to Attach to a reference to the player&#8217;s camera. This will appear to make the audio originate from the player&#8217;s mouth. <br><br>I created a specific attenuation class for VOIP which will more accurately reduce volume over distance in the context of speech. You can create and set your own Attenuation class in here and tweak till it sounds right. </p>



<p><strong><a href="https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/">If you don&#8217;t know how to setup Audio Attenuation in Unreal Engine 4 click here for a simple guide.</a></strong></p>



<p>In the content browser create a new source effect chain class and leave it empty. Assign the source effect chain setting option to this new class.</p>



<h3 class="wp-block-heading">Completed Blueprint</h3>



<p>The entire system is fairly simple. The lack of documentation is the difficult part.<br><br>Here is the complete blueprint nodes all inside my player character blueprint. </p>



<figure class="wp-block-image"><img decoding="async" width="1024" height="149" src="https://couchlearn.com/wp-content/uploads/2019/07/image-50-1024x149.png" alt="Positional voice chat blueprints using VOIPTalker" class="wp-image-510" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image-50-1024x149.png 1024w, https://couchlearn.com/wp-content/uploads/2019/07/image-50-300x44.png 300w, https://couchlearn.com/wp-content/uploads/2019/07/image-50-768x112.png 768w, https://couchlearn.com/wp-content/uploads/2019/07/image-50.png 1466w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">Example Video</h2>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="First Person Positional Voice Chat Project Example" width="678" height="381" src="https://www.youtube.com/embed/jmhsiFvQSOM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Download the Project Files</h2>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed" data-gumroad-product-id="nWwtC"><a href="https://gumroad.com/l/nWwtC">Loading&#8230;</a></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed" data-gumroad-product-id="klgQ"><a href="https://gumroad.com/l/klgQ">Loading&#8230;</a></div>
</div>
</div>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Positional Voice Chat should be well documented and developed considering how many games use this feature.<br><br>If you found this tutorial useful please share to other developers, family and friends because I believe that this takes very little time to set up and adds a whole dimension of gameplay. <br><br>Developers should not have to rely on custom C++ solutions for basic multiplayer features. </p>
<p>The post <a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/">How to use VOIPTalker Proximity Voice Chat using only Blueprints in your Multiplayer Unreal Engine 4 game</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/feed/</wfw:commentRss>
			<slash:comments>76</slash:comments>
		
		
			</item>
		<item>
		<title>The easy way to add Voice Chat into your multiplayer Unreal Engine 4 Game</title>
		<link>https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/</link>
					<comments>https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Mon, 15 Jul 2019 17:27:08 +0000</pubDate>
				<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[Voice Chat]]></category>
		<category><![CDATA[games development]]></category>
		<category><![CDATA[multiplayer]]></category>
		<category><![CDATA[ue4]]></category>
		<category><![CDATA[voice chat]]></category>
		<guid isPermaLink="false">http://couchlearn.com/?p=23</guid>

					<description><![CDATA[<p>With most games becoming multiplayer focussed or having a seperate mode for multiplayer, many users expect rich features on launch. Features even in early access <a class="mh-excerpt-more" href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/" title="The easy way to add Voice Chat into your multiplayer Unreal Engine 4 Game">[...]</a></p>
<p>The post <a href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/">The easy way to add Voice Chat into your multiplayer Unreal Engine 4 Game</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>With most games becoming multiplayer focussed or having a seperate mode for multiplayer, many users expect rich features on launch. Features even in early access stages of development such as voice chat, friends lists, inviting to parties from AAA to indie titles. </p>



<p>With only a small amount of setup you can add fully working voice chat using only blueprints into your game without any C++ knowledge using any version of &nbsp;Unreal Engine 4.</p>



<h3 class="wp-block-heading">Before we Start</h3>



<p> Unreal Engine’s voice chat only works correctly when your multiplayer game uses the session system. <a href="https://couchlearn.com/multiplayer-sessions-in-your-unreal-engine-4-game/">To learn about the session system in Unreal Engine 4 click here.</a> </p>



<h3 class="wp-block-heading" id="h.oi02il7np618">Setting up Voice Chat</h3>



<h4 class="wp-block-heading">Config Files</h4>



<p>To tell the engine that we want to enable the voice chat features there are a few configuration files (.ini) that need to be changed. The files we need to change are DefaultGame.ini and DefaultEngine.ini. No additional software is needed to change these files. Notepad works fine.</p>



<p>To find these files open your project folder and navigate to the config folder.</p>



<figure class="wp-block-image"><img decoding="async" width="599" height="145" src="http://couchlearn.com/wp-content/uploads/2019/07/image1-2.png" alt="" class="wp-image-24" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image1-2.png 599w, https://couchlearn.com/wp-content/uploads/2019/07/image1-2-300x73.png 300w" sizes="(max-width: 599px) 100vw, 599px" /></figure>



<p>Here are the two files we need to edit:</p>



<figure class="wp-block-image"><img decoding="async" width="591" height="149" src="http://couchlearn.com/wp-content/uploads/2019/07/image10-1.png" alt="" class="wp-image-25" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image10-1.png 591w, https://couchlearn.com/wp-content/uploads/2019/07/image10-1-300x76.png 300w" sizes="(max-width: 591px) 100vw, 591px" /></figure>



<p>To edit them, right click the file and select open with then click notepad:</p>



<figure class="wp-block-image"><img decoding="async" width="645" height="509" src="http://couchlearn.com/wp-content/uploads/2019/07/image2-1.png" alt="" class="wp-image-26" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image2-1.png 645w, https://couchlearn.com/wp-content/uploads/2019/07/image2-1-300x237.png 300w" sizes="(max-width: 645px) 100vw, 645px" /></figure>



<h4 class="wp-block-heading">DefaultEngine.ini</h4>



<p>Once open, scroll down to the end of the DefaultEngine.ini file and copy and paste this section to enable the voice system on the engine. Save and exit this file.</p>



<pre class="wp-block-code"><code>&#91;Voice] 
bEnabled=true

&#91;OnlineSubsystem] 
bHasVoiceEnabled=true</code></pre>



<figure class="wp-block-image"><img decoding="async" width="788" height="470" src="http://couchlearn.com/wp-content/uploads/2019/07/image4-1.png" alt="" class="wp-image-27" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image4-1.png 788w, https://couchlearn.com/wp-content/uploads/2019/07/image4-1-300x179.png 300w, https://couchlearn.com/wp-content/uploads/2019/07/image4-1-768x458.png 768w" sizes="(max-width: 788px) 100vw, 788px" /></figure>



<h4 class="wp-block-heading">DefaultGame.ini</h4>



<p>DefaultGame.ini is last file that needs to be changed. Open this using the same method as DefaultEngine.ini and paste one of the sections below to enable or disable push to talk.</p>



<p>Enabling push to talk gives your players the ability to only send their voice when pressing a button down.</p>



<p>Disabling push to talk sends voice data all the time regardless if the player wants to send their voice or not.</p>



<p>It is recommended that you enable this as most players prefer their voice data only being sent when they are ready to talk.</p>



<p>To enable push to talk, copy and paste this section:</p>



<pre class="wp-block-code"><code>&#91;/Script/Engine.GameSession]
bRequiresPushToTalk=true</code></pre>



<figure class="wp-block-image"><img decoding="async" width="416" height="182" src="http://couchlearn.com/wp-content/uploads/2019/07/image9-1.png" alt="" class="wp-image-28" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image9-1.png 416w, https://couchlearn.com/wp-content/uploads/2019/07/image9-1-300x131.png 300w" sizes="(max-width: 416px) 100vw, 416px" /></figure>



<p>To disable push to talk, copy and paste this section:</p>



<pre class="wp-block-code"><code>&#91;/Script/Engine.GameSession]
bRequiresPushToTalk=false</code></pre>



<figure class="wp-block-image"><img decoding="async" width="417" height="181" src="http://couchlearn.com/wp-content/uploads/2019/07/image5-1.png" alt="" class="wp-image-29" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image5-1.png 417w, https://couchlearn.com/wp-content/uploads/2019/07/image5-1-300x130.png 300w" sizes="(max-width: 417px) 100vw, 417px" /></figure>



<p>Save and close the file.</p>



<p>Open your project from the .uproject file in your project folder and wait for the engine to load.</p>



<h3 class="wp-block-heading" id="h.jo2sg6jmda2o">Finishing Touches</h3>



<h4 class="wp-block-heading">Blueprint Setup</h4>



<p>If you have enabled push to talk in the DefaultGame.ini file in the above step, you will need to setup key press input to start and stop push to talk. If you did not enable push to talk you can skip to the conclusion.</p>



<p>The first step is to open your player controller blueprint. In my project I have created a new player controller named PlayerControllerVoice.</p>



<p>If you do not have a custom player controller, simply create one from the content browser and assign it to your game mode.</p>



<figure class="wp-block-image"><img decoding="async" width="417" height="279" src="https://couchlearn.com/wp-content/uploads/2019/10/image-21.png" alt="Adding the player controller to the game mode" class="wp-image-851" srcset="https://couchlearn.com/wp-content/uploads/2019/10/image-21.png 417w, https://couchlearn.com/wp-content/uploads/2019/10/image-21-300x201.png 300w" sizes="(max-width: 417px) 100vw, 417px" /></figure>



<h4 class="wp-block-heading">Adding the Voice Chat Key</h4>



<p>Once your player controller blueprint is open on the event graph right click anywhere on the empty space and type the name of the key you want your players to press in order to talk. In my case I used the V key.</p>



<figure class="wp-block-image"><img decoding="async" width="410" height="410" src="http://couchlearn.com/wp-content/uploads/2019/07/image3-1.png" alt="" class="wp-image-31" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image3-1.png 410w, https://couchlearn.com/wp-content/uploads/2019/07/image3-1-150x150.png 150w, https://couchlearn.com/wp-content/uploads/2019/07/image3-1-300x300.png 300w" sizes="(max-width: 410px) 100vw, 410px" /></figure>



<p>From the pressed and released pins of the input key event create two “Execute Console Command” nodes.</p>



<figure class="wp-block-image"><img decoding="async" width="617" height="499" src="http://couchlearn.com/wp-content/uploads/2019/07/image11-1.png" alt="" class="wp-image-32" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image11-1.png 617w, https://couchlearn.com/wp-content/uploads/2019/07/image11-1-300x243.png 300w" sizes="(max-width: 617px) 100vw, 617px" /></figure>



<p>At this stage it should look like this:</p>



<figure class="wp-block-image"><img decoding="async" width="419" height="289" src="http://couchlearn.com/wp-content/uploads/2019/07/image6-1.png" alt="" class="wp-image-33" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image6-1.png 419w, https://couchlearn.com/wp-content/uploads/2019/07/image6-1-300x207.png 300w, https://couchlearn.com/wp-content/uploads/2019/07/image6-1-115x80.png 115w" sizes="(max-width: 419px) 100vw, 419px" /></figure>



<p>In the command input of the pressed “Execute Console Command” node type:</p>



<pre class="wp-block-code"><code>ToggleSpeaking 1</code></pre>



<p>In the command input of the released “Execute Console Command” node type:</p>



<pre class="wp-block-code"><code>ToggleSpeaking 0</code></pre>



<figure class="wp-block-image"><img decoding="async" width="395" height="291" src="http://couchlearn.com/wp-content/uploads/2019/07/image7-1.png" alt="" class="wp-image-34" srcset="https://couchlearn.com/wp-content/uploads/2019/07/image7-1.png 395w, https://couchlearn.com/wp-content/uploads/2019/07/image7-1-300x221.png 300w" sizes="(max-width: 395px) 100vw, 395px" /></figure>



<p>Now when your players press the input key (in my case V) they will start sending voice chat information. When they release the key they will stop sending voice chat information.</p>



<h3 class="wp-block-heading">Example Video</h3>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Third Person Voice Chat Project Example" width="678" height="381" src="https://www.youtube.com/embed/E9gepdeQiJk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h3 class="wp-block-heading">Download the Project Files</h3>



<p>These example projects have fully working voice chat using the Steam online system using Unreal Engine 4.23.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed" data-gumroad-product-id="CqGkV"><a href="https://gumroad.com/l/CqGkV">Loading&#8230;</a></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed" data-gumroad-product-id="cZliJ"><a href="https://gumroad.com/l/cZliJ">Loading&#8230;</a></div>
</div>
</div>



<h2 class="wp-block-heading" id="h.t5gkd32mveyd">Conclusion</h2>



<p>Voice Chat is now fully working. Completing the additional steps gives you the option of enabling and disabling sending your player’s voice through push to talk!</p>



<p>To improve this system you could do the following:</p>



<ul class="wp-block-list"><li><a href="https://couchlearn.com/positional-voice-chat-using-blueprints-in-ue4/">Add positional voice chat to your system.</a></li><li>Add the Advanced Sessions Plugin which gives access to blueprint nodes of many C++ only voice and online features (muting other players, friends lists, inviting players) found here: <a href="https://www.google.com/url?q=https://forums.unrealengine.com/community/community-content-tools-and-tutorials/41043-advanced-sessions-plugin&amp;sa=D&amp;ust=1563214761898000">https://forums.unrealengine.com/community/community-content-tools-and-tutorials/41043-advanced-sessions-plugin</a></li><li>Use Input actions for push to talk allowing players to rebind their keys</li></ul>
<p>The post <a href="https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/">The easy way to add Voice Chat into your multiplayer Unreal Engine 4 Game</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/the-easy-way-to-add-voice-chat-into-your-multiplayer-unreal-engine-4-game/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: couchlearn.com @ 2026-04-15 17:08:45 by W3 Total Cache
-->