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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback