Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IVoiceEngine
Description
Sets the playback priority of a remote talker for the given user. A priority of 0xFFFFFFFF indicates that the player is muted. All other priorities sorted from zero being most important to higher numbers being less important.
| Name | SetPlaybackPriority |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/VoiceInterface.h |
| Include Path | #include "Interfaces/VoiceInterface.h" |
uint32 SetPlaybackPriority
(
uint32 LocalUserNum,
const FUniqueNetId & RemoteTalkerId,
uint32 Priority
)
0 upon success, an error code otherwise
Parameters
| Name | Remarks |
|---|---|
| UserIndex | the local talker that is setting the priority |
| UniqueId | the id of the remote talker that is having priority changed |
| Priority | the new priority to apply to the talker |