• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

libRaidVoice

 
Project Updated:
Files Updated: Mon, Nov 16 2009
Supports Game Version: 3.2.0
Category: Libraries, Audio & Video, and Chat & Communication
Tags:

[Edit Tags]

Project Manager: Starouscz
Additional Authors: No additional authors
Current Version: libRaidVoice-0.5beta
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 1
Downloads Total: 146
Favorites: 0
Comments: 4
  • About libRaidVoice
  •  

This library provides simple API for integrating some of RaidVoice features. RaidVoice addon is my main project that enables people to see each other when speaking on external voice chat like TeamSpeak or Ventrillo. Purpose of this library is to hook global function UnitIsTalking and to provide custom voice events that can be embedded in other addons, mainly targeting unitframes. The unitframes can then capture and broadcast voice events and use the global function to show who is speaking over external voicechat.

How it works:

Library should snoop on RaidVoice communication an use small cache to store who is speaking. When voice status of any players changes callback will be fired.Detailed description of API will be provided when implementation is finished. For more information on the subject see RaidVoice addon page.

Documentation

Example usage:

In your addon register the library and calls your function - voiceUpdate in this example

event is only one RAIDVOICE_UPDATE

local RV = LibStub('libRaidVoice-1.0')

function addon:OnEnable()
  RV.RegisterCallback(addon, "RAIDVOICE_UPDATE")
end

function addon:RAIDVOICE_UPDATE()
  -- random updating code
  for unit, frame in self:RandomFrameIterateFunction() do
    if unit and UnitIsTalking(UnitName(unit)) then
      self:ShowVoiceIcon(frame)
    else
      self:HideVoiceIcon(frame)
    end
  end
end

--how to broadcast voice events:

--bind keys to

RV:playerStartsSpeaking()
RV:playerStopsSpeaking()


--Or enable blizz voice chat, set voice sensitivy and call:
RV:useVoiceActivation(true)

(optional) RV:setVoiceUpdatePeriod(2) 
--update period in seconds

--This can be disabled using:
RV:useVoiceActivation(false)



--how to hide blizz voice box with player name

		VoiceChatTalkers:UnregisterAllEvents();
		VoiceChatTalkers:SetScript("OnLoad",nil);
		VoiceChatTalkers:SetScript("OnUpdate",nil);
		VoiceChatTalkers:SetScript("OnEnter",nil);
		VoiceChatTalkers:SetScript("OnEvent",nil);
		VoiceChatTalkers:Hide();
		

global functions:

UnitIsTalking(playerName) - returns 1 if player is speaking on external voichat or when speaking over Blizzard voicechat, nil if not speaking.

do NOT use IsVoiceChatEnabled to test for voicechat existence this function returns 1 only if blizz voicechat is enabled, it does not check external voicechats that use raidvoice

  • Downloads (4)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  libRaidVoice-0.5beta Beta 3.2.0 100 11/16/2009
  libRaidVoice-0.4beta Beta 3.2.0 11 11/14/2009
  libRaidVoice-0.3beta Beta 3.2.0 15 11/10/2009
  libRaidVoice LibRaidVoice-0.1beta Beta 3.2.0 20 11/6/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Starouscz said

    Added virtual guild voice channels in 0.4
    P.S. Fixed bug in previous release, sorry for that!

    Reply Report Permalink
  • Starouscz said

    I updated the library with broadcasting feature and voice activation. Please note that the API has changed

    Reply Report Permalink
  • quick question: With this library if another player is talking he would either have to have raidvoice addon installed or be speaking through blizzards voice chat for me to see it? In other words it cannot detect that my friend is using ventrilo without Raidvoice addon installed on his computer correct?

    Reply Report Permalink
  • Starouscz said

    Yes. The player who speaks has to have RaidVoice addon. This library just recieves that he is speaking - atleast for now.

    Reply Report Permalink
  • Starouscz said

    Please post any feedback/questions you have regarding the library. Also if you write me name of your addon i will post a list of addons/unitframes supporting raidvoice. If you like this library or raidvoice addon spread the word, that would make me happy.

    Reply Report Permalink
  • 1 page(s)
  • Addon Packs Containing libRaidVoice

Most Downloads / Day

libRaidVoice has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 2,669 Prat 3.0 Chat & Communication
  2. 1,463 Chatter Chat & Communication
  3. 1,096 EPGPLootmaster Chat & Communication, Bags...
  4. 487 Ace3 Libraries
  5. 437 Addon Control Panel Libraries, Development Tools...