FRemoteTalkerDataImpl

Remote voice data playing on a single client

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "VoiceEngineImpl.h"

Syntax

class FRemoteTalkerDataImpl

Remarks

Remote voice data playing on a single client

Variables

Name Description

Public variable

bool

 

bIsActive

Boolean flag used to tell whether this synth component is currently consuming incoming voice packets.

Public variable

bool

 

bIsEnvelopeBound

Boolean used to ensure that we only bind the VOIP talker to the SynthComponent's corresponding envelope delegate once.

Public variable

UVOIPTalker ...

 

CachedTalkerPtr

Cached Talker Ptr. Is checked against map before use to ensure it has not been destroyed.

Public variable

int32

 

CurrentUncompressedDataQueueSize

Amount of data currently in the outgoing playback queue

Public variable

double

 

LastSeen

Receive side timestamp since last voice packet fragment

Public variable

int32

 

MaxUncompressedDataQueueSize

Maximum size of the outgoing playback queue

Public variable

int32

 

MaxUncompressedDataSize

Maximum size of a single decoded packet

Public variable

float

 

MicrophoneAmplitude

Loudness of the incoming audio, computed on the remote machine using the microphonei input audio and serialized into the packet.

Public variable

int32

 

NumFramesStarved

Number of frames starved of audio

Public variable

FCriticalSectio...

 

QueueLock

Buffer for outgoing audio intended for procedural streaming

Public variable

Audio::FPatchSp...

 

RemoteVoiceOutput

Patch splitter to expose incoming audio to multiple outputs.

Public variable

TArray< uint8 >

 

UncompressedDataQueue

Public variable

TSharedPtr< IVo...

 

VoiceDecoder

Per remote talker voice decoding state

Public variable

UVoipListenerSy...

 

VoipSynthComponent

Synth component playing this buffer (only valid on remote instances)

Constructors

Name Description

Public function

FRemoteTalkerDataImpl()

Public function

FRemoteTalkerDataImpl

(
    const FRemoteTalkerDataImpl& Other
)

Required for TMap FindOrAdd()

Public function

FRemoteTalkerDataImpl

(
    FRemoteTalkerDataImpl&& Other
)

Destructors

Name Description

Public function

~FRemoteTalkerDataImpl()

Functions

Name Description

Public function

void

 

Cleanup()

Cleanup the talker before unregistration

Public function

void

 

Reset()

Reset the talker after long periods of silence