Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Net
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UVOIPStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Net/VoiceConfig.h |
Include | #include "Net/VoiceConfig.h" |
Syntax
UCLASS (MinimalAPI)
class UVOIPStatics : public UBlueprintFunctionLibrary
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Clear all pointers to VOIPTalkers. | |
![]() ![]() |
EAudioEncodeHint | Returns the desired encoding type. Currently not exposed as a configured settings. | |
![]() ![]() |
float | Returns the amount of seconds to spend buffering specified by AudioSettings. | |
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | Returns the max voice data size per packet, uncompressed, and compressed based on the voice sample rate specified in Audio Settings. | |
![]() ![]() |
int32 | Returns the amount of packets to allocate memory for based on the buffering delay. | |
![]() ![]() |
APlayerState * | GetPlayerStateFromUniqueNetId
(
UWorld* InWorld, |
Returns pointer to a player state |
![]() ![]() |
float | Returns the amount of time that must pass since a VOIP talker has been updated before it's queued data is reset. | |
![]() ![]() |
float | Returns the noise gate threshold we use for incoming audio. | |
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | Returns the voice sample rate specified in Audio Settings. | |
![]() ![]() |
UVOIPTalker * | GetVOIPTalkerForPlayer
(
const FUniqueNetIdWrapper& InPlayerId |
|
![]() ![]() |
UVOIPTalker * | GetVOIPTalkerForPlayer
(
const FUniqueNetIdWrapper& InUniqueId, |
These functions retrieve a pointer to a VOIPTalker associated with a specific player, if there is one available. |
![]() ![]() |
bool | IsVOIPTalkerStillAlive
(
UVOIPTalker* InTalker |
This is used to check whether a VOIPTalker has been removed from the TalkerMap before using it. |
![]() ![]() |
void | ResetPlayerVoiceTalker
(
APlayerState* InPlayerState |
Removes a player's voice talker. This is done by a UVOIPTalker on destruction. |
![]() ![]() |
void | ResetPlayerVoiceTalker
(
const FUniqueNetIdWrapper& InPlayerId |
|
![]() ![]() ![]() ![]() |
void | SetMicThreshold
(
float InThreshold |
This function sets the Mic threshold for VOIP chat. |
![]() ![]() |
void | SetVOIPTalkerForPlayer
(
const FUniqueNetIdWrapper& InPlayerId, |
Sets up a VOIP talker to be accessed for a specific player when they are talking. |
Constants
Name | Description |
---|---|
VoiceTalkerMap |