FVoicePacket

Defines the data involved in a voice packet

Windows
MacOS
Linux

Inheritance Hierarchy

FVoicePacket

FVoicePacketImpl

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/VoiceDataCommon.h

Include

#include "Net/VoiceDataCommon.h"

Syntax

class FVoicePacket

Remarks

Defines the data involved in a voice packet

Constructors

Name Description

Public function

FVoicePacket()

Zeros members and validates the assumptions

Public function

FVoicePacket

(
    const FVoicePacket& Other
)

Copies another packet and inits the ref count

Destructors

Name Description

Public function Virtual

~FVoicePacket()

Should only be used by TSharedPtr and FVoiceData

Functions

Name Description

Public function

uint16

 

GetBufferSize()

Public function Virtual Const

uint64

 

GetSampleCounter()

Return the index of the first sample of this packet in the audio stream.

Public function

TSharedPtr< ...

 

GetSender()

Public function

uint16

 

GetTotalPacketSize()

Public function

bool

 

IsReliable()

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize the voice packet data to a buffer

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