| IVoiceEngine::SubmitRemoteVoiceData()
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/VoiceInterface.h |
Include |
#include "Interfaces/VoiceInterface.h" |
uint32 SubmitRemoteVoiceData
(
const FUniqueNetId & RemoteTalkerId,
uint8 * Data,
uint32 * Size
)
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
0 upon success, an error code otherwise
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. |