x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

voice chat in multiplayer

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?

Product Version: UE 4.18
Tags:
more ▼

asked May 14 '18 at 01:46 PM in Using UE4

avatar image

benhkvr
36 1 2 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered May 23 '18 at 02:05 PM

avatar image

benhkvr
36 1 2 10

avatar image Seven莎温 Nov 20 '18 at 01:37 AM

Where to set 'ToggleSpeaking' command?

avatar image Balafrs Dec 28 '18 at 03:59 AM

in game press "~" to open command bar

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question