libRaidVoice

API / libRaidVoice-1.0

RV:SetVoiceChannel

(index)

Parameters

index
number identifing the voice channel in use

Usage

you should call this function to switch voicechannels.

Voice channel selection--
 number 0 is reserved for party/raid
 number 100 is reserved for battleground
 numbers 1-5 were tested and works
 they create virtual voice channels over guildchat


RV:playerMute

()

Usage

you should call this function when player mutes himself


RV:playerStartsSpeaking

() API for external addons to broadcast voice status to other players

Usage

you should call this function when player press push to talk voice key


RV:playerStopsSpeaking

()

Usage

you should call this function when player releases push to talk voice key


RV:playerUnmute

()

Usage

you should call this function when player unmutes himself


RV:setVoiceUpdatePeriod

(period)

Parameters

period
Positive number (>= 0.5) measured in seconds

Usage

optional. Changes frequency how often the current
voice activation level is measured.


RV:useVoiceActivation

(enabled)

Parameters

enabled
1 or nil

Usage

enables and disables voice activation.The blizzard in-game
voice chat must be enabled first and voice activation sensitivity
set up there.


You must login to post a comment. Don't have an account? Register to get one!