FVoiceEngineImpl::SubmitRemoteVoiceData

Submits remote voice data for playback by the voice system.

Windows
MacOS
Linux

Override Hierarchy

IVoiceEngine::SubmitRemoteVoiceData()

FVoiceEngineImpl::SubmitRemoteVoiceData()

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoiceEngineImpl.h

Include

#include "VoiceEngineImpl.h"

Syntax

virtual uint32 SubmitRemoteVoiceData
(
    const FUniqueNetId & RemoteTalkerId,
    uint8 * Data,
    uint32 * Size
)

Remarks

Submits remote voice data for playback by the voice system. No playback occurs if the priority for this remote talker is 0xFFFFFFFF. Size indicates how much data to submit for processing. It's also an out value in case the system could only process a smaller portion of the data

Returns

0 upon success, an error code otherwise

Parameters

Parameter

Description

RemoteTalkerId

the remote talker that sent this data

Data

the buffer to copy the voice data into

Size

in: the size of the buffer, out: the amount of data copied

InSampleCount

optional parameter for the starting sample of this voice packet. Used for sorting packets received out of order.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss