summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
AgeCommit message (Collapse)Author
2010-03-30HUGE merge from viewer-trunk. Many conflicts resolved.Tofu Linden
2010-03-29MergeAimee Linden
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29EXT-6031 Refactoring of voice volume representationAimee Linden
Standardizes representation of volume as [0.0 - 1.0] logarithmic with 0db at 0.5 within LLVoiceClient Reviewed by Tofu.
2010-03-25automated mergeLoren Shih
2010-03-25EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Minor superficial cleanup to use proper naming conventions.
2010-03-23Minimal fix for EXT-6508, restore voice volume when unmuting.Aimee Linden
Ignore incoming volume level of zero from SLVoice. (May also fix EXT-5625, though unconfirmed, removes obsolete hack that was obfuscating that issue).
2010-02-25Fixed normal bug EXT-4313 (Should not be able to start a call when voice is ↵Andrew Dyukov
disabled). - Added constant holding maximum number of times(in a row) "stateJoiningSession" case for spatial channel is reached in LLVoiceClient::stateMachine() which is treated as normal. They are counted using member added to LLVoiceClient. If this number is exceeded we suspect there is a problem with connection to voice server. Check of current number against maximum was added to LLVoiceClient::voiceWorking(). --HG-- branch : product-engine
2010-02-18EXT-5370: Voice volumes set for other agents reverting between voice sessionsAimee Linden
mVolumeDirty needs to be set when recalling volume levels, for both the participant and the session, to trigger sending a volume change message to Vivox. Reviewed by: Lynx.
2010-02-15CID-209Tofu Linden
Checker: REVERSE_INULL Function: LLVoiceClient::startUserIMSession(const LLUUID &) File: /indra/newview/llvoiceclient.cpp
2010-02-04Fixed normal bug EXT-4925 (Please make user voice settings compatible with 1.23)Mike Antipov
- for now volume level is stored in external (vivox) format [0.0 - 1.0] - this fix should be included into the Beta 2 release --HG-- branch : product-engine
2010-02-03PE merge.Tofu Linden
2010-02-03No ticket. Added comments regarding EXT-4758 and ↵Andrew Dyukov
LLVoiceClient::voiceWorking() in general to clear things up a bit. --HG-- branch : product-engine
2010-02-02PE merge.Tofu Linden
2010-02-02Fixed normal bug EXT-4758 ("Call" button in IM window is disabled after call ↵Andrew Dyukov
from parcel with disabled voice) - One more voice client state is now treated by voiceWorking() as valid. --HG-- branch : product-engine
2010-02-02Supplementary fix EXT-4770 : Voice muting not working properly due to a ↵Aimee Linden
change in the Vivox API The master voice mute in preferences wasn't working either, due to the minimum scaled volume now being 30 instead of 0. Reviewed by Lynx.
2010-02-01Fix EXT-4770 : Voice muting not working properly due to a change in the ↵Aimee Linden
Vivox API Added <Scope>Audio</Scope> to the SetParticipantMuteForMe message. Reviewed by Lynx
2010-01-29Mere from default branchVadim Savchuk
--HG-- branch : product-engine
2010-01-28CID-369Tofu Linden
Checker: UNINIT_CTOR Function: LLVoiceClient::sessionState::sessionState() File: /indra/newview/llvoiceclient.cpp
2010-01-28CID-370Tofu Linden
Checker: UNINIT_CTOR Function: LLVivoxProtocolParser::LLVivoxProtocolParser() File: /indra/newview/llvoiceclient.cpp
2010-01-28got rid of llfloaterfriends.h includes for EXT-1196 Stalls on startup in ↵Igor Borovkov
LLPanelFriends::refreshNames --HG-- branch : product-engine
2010-01-25Related to normal bug EXT-4108 ([BSI] Voice volume sliders do not preserve ↵Mike Antipov
settings per resident between voice sessions) - moved default internal voice level value into application settings - cleanned up include list in llmutelist.cpp --HG-- branch : product-engine
2010-01-25Fixed normal bug EXT-4108 ([BSI] Voice volume sliders do not preserve ↵Mike Antipov
settings per resident between voice sessions) - moved necessary functionality from LLMuteList to LLVoiceClient. It was used only in active speackers floater which is deprecated. - initialized saving/loading of voice level in voice client. - also saving voice levels between session is activated. --HG-- branch : product-engine
2010-01-22Fixed normal bugs EXT-4450 ([BSI] call buttons enabled when voice is ↵Andrew Dyukov
disabled) and EXT-4313 (Should not be able to start a call when voice is disabled). Call buttons state now reacts on voice changes in time. - Added voiceWorking() method to LLVoiceClient to determine real availability of voice, because voiceEnabled() doesn't take into account possible errors. Perhaps there is no need in two methods- some investigation will be made and depending on its results they may become one non-static method. voiceWorking() uses state of voice client(mState) to determine voice availability. Also some states which are not currently counted by voiceWorking() as valid may be added if testing reveals problems. - To enable/disable call buttons in time, LLVoiceClientStatusObserver is used. Its trigger uses states from its enum only to skip updating button in some states(to avoid button blinking), but to determine button state LLVoiceClient's voiceWorking() is used. --HG-- branch : product-engine
2010-01-20Reducing include dependence from the "llspeakers.h" through "llimview.h" ↵Mike Antipov
(following by the 7d600b529ee8 commit) --HG-- branch : product-engine
2010-01-19mergeYchebotarev ProductEngine
--HG-- branch : product-engine
2010-01-18work on EXT-4322 Remove the Communicate floaterYchebotarev ProductEngine
leave some LLFloaterChat usages commented for later review... --HG-- branch : product-engine
2010-01-15mergerichard
2010-01-14Work on major bug EXT-3976 (Voice chat speaking indicators should only ↵Mike Antipov
display when users are in the same voice channel) -- improvements: replace std::vector with std::set to avoid duplicated speaker UUIDs. Added method to get a set of voice participants UUIDs --HG-- branch : product-engine
2010-01-14EXT-3795 First run messages still display (click & drag on map, Build tools ↵angela
open, movement controlled, etc)
2010-01-04Fixed low bug EXT-3897 ( Turn off log spam: "LLIMModel::getSpeakerManager: ↵Mike Antipov
session 00000000-0000-0000-0000-000000000000does not exist" from Voice Client) -- added check of session UUID to null before calling LLIMModel::getSpeakerManager (implemented for the EXT-3544 bug) --HG-- branch : product-engine
2010-01-04implemented EXT-3642 Default mic states for voice callsIgor Borovkov
--HG-- branch : product-engine
2009-12-25Fixed normal bug EXT-3544 (Voice icon doesn't become "muted" in the voice ↵Mike Antipov
controls panel after muting a resident) --added updating of speakers in speaker manager when LLVoiceClient::participantUpdatedEvent and LLViewerChatterBoxSessionAgentListUpdates::post events come. --HG-- branch : product-engine
2009-12-16EXT-3517: Update mic/speaker volume scaling.Lynx Linden
We now scale the mic and speaker volume levels to the Vivox range 30 to 70 (default of 50), as recommended by Vivox for their V3 SDK.
2009-12-14Merge from default branch.Vadim Savchuk
--HG-- branch : product-engine
2009-12-11EXT-3394: Remove manual voice gain controls.Lynx Linden
The new Vivox SDK supports Automatic Gain Control (AGC), so we shouldn't need to change the local gain level from the default of 50%. This change sets the initial gain level to 50 (instead of 62) and removes the local gain sliders from the Sound Preferences floater and the Voice Controls floater. The latter was not hooked up yet anyway.
2009-12-11fixed normal bug (EXT-3246) Do not show "Calling to..." notification dialog ↵Dmitry Oleshko
for incoming group and ad-hoc calls now is is able to get a direction of calls through the voice channel's signal for its state changing also choosing of type of IMSession was fixed and was moved from a separate function to the constructor --HG-- branch : product-engine
2009-12-08work on normal tasks:Dmitry Oleshko
(EXT-2803) Create notifications and dialogs to negotiate P2P voice chat (shown over the Speak button) (EXT-2806) Create notification windows and dialogs to negotiate Group Voice Chat (docked to Speak button's chevron) (EXT-2802) Create notifications and dialogs to negotiate AvaLine calls (shown over Speak button) (EXT-2805) Create notifications and dialogs to negotiate Ad-Hoc calls (shown over Speak button) - "NO ANSWER" notification gets closed after specified timeout - added possibility to check direction of call (but it doesn't work for group and ad-hoc calls yet) - adjusted layout for the incoming call dialog --HG-- branch : product-engine
2009-12-01DEV-40702: Internationalize the unknown Vivox version string ratherLynx Linden
than hardcode it in llvoiceclient.cpp. Also rename the string from "Unknown" to "Not connected", to better reflect the fact that we get the Vivox version once voice is connected.
2009-11-25Created lightweight LLNotificationsUtil::add(), switched most alerts to use itJames Cook
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-24Removed include llnotifications.h from llfloater.h trying to speed buildsJames Cook
Fixed many other includes related to this file. Cleaned out llfloatertestlistview to be an empty test floater.
2009-11-20Clean up some loggingRick Pasetto
2009-11-12Automated merge with ssh://hg.lindenlab.com/moss/viewer2voiceparity/Lynx Linden
2009-11-12DEV-41324 DEV-41331: Improvements to the Avaline voice workflow.Lynx Linden
Don't show the "Start IM" button in the incoming call request for an Avaline call. And display the phone number of the incoming call as the avatar name, instead of "(???) (???)".
2009-11-12more work on the outgoing call popup...Tofu Linden
2009-11-09Smarter mildly-refactored voice-toggle state management.Tofu Linden
2009-11-09remove #include no longer needed.Tofu Linden
2009-11-09Don't have LLVoiceClient manually poke the nearbychatbar's 'speak' button's ↵Tofu Linden
visual state as a special case - all speak buttons will soon know how to poll (sigh) the ptt state, with more reliability.
2009-11-02DEV-40702: fixed the audio device enumeration code so that it worksLynx Linden
with Vivox V2 and V3 SDKs. We were assuming that the <CaptureDevice> tag contains only a single tag (<Device>), but the V3 SDK returns other tags such as <DisplayName> and <Type>. I also added the current Vivox SDK version to the About window so that it is easier to tell which version your client is actually using.