Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetDriver
Description
Determines which other connections should receive the voice packet and queues the packet for those connections. Used for sending both local/remote voice packets.
| Name | ReplicateVoicePacket |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h |
| Include Path | #include "Engine/NetDriver.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetDriver.cpp |
virtual void ReplicateVoicePacket
(
TSharedPtr < class FVoicePacket > VoicePacket,
class UNetConnection * CameFromConn
)
Parameters
| Name | Remarks |
|---|---|
| VoicePacket | the packet to be queued |
| CameFromConn | the connection this packet came from (NULL if local) |