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