summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
AgeCommit message (Collapse)Author
2010-04-30WIP: normal bug EXT-6865 (Voice isn't blocked for Avaline callers connected ↵Mike Antipov
via PSTN bridge) Applyied Aimee's patch to enable blocking of avaline caller: added an "External" mute type which isn't sent to the SL servers or stored in the cache across sessions. The caller's ID will change each time so there's no point cluttering up the mute list by persisting them. Known issue: Right now the mute is added with the caller's phone number as the name shown in the block list, so that will need changing to "Avaline Caller 1" etc --HG-- branch : product-engine
2010-04-29Make the current voice font a per-account saved setting.Aimee Linden
2010-04-29Make a proper XUI commit_callback for the Voice Font comboAimee Linden
2010-04-28Persist Voice Font selection.Aimee Linden
Added 'VoiceFontDefault' saved setting. Implemented LLVoiceClientFontsObserver to update the UI when the voice font list is received. Renamed LLVoiceClientParticipantObserver::onChange() to onParticipantsChanged to avoid ambiguity and make the code more readable. Made the Voice Font combo in the VCP auto resize to make best use of the available space when the 'Leave Call button is not visible.
2010-04-21Remove diamondware and rearrange login panel to be like it is in the default ↵Roxie Linden
viewer 2 build
2010-04-20Sort out the state machine in LLVoiceClient to wait for voice fonts properly.Aimee Linden
2010-04-19CR Changes from AimeeRoxie Linden
2010-04-19Removed left over initialization to 0 of mVoiceFontID from when it was an ↵Aimee Linden
integer rather than a UUID.
2010-04-19Automated merge with ssh://hg.lindenlab.com/q/viewer-trunkAimee Linden
2010-04-19Identify fonts with UUIDs rather than using the font indexes directly as ↵Aimee Linden
they are not guaranteed unique across sessions. Replaced all references to "Font" with "Voice Font" where possible to reduce confusion for anyone grepping code in future.
2010-04-14DEV-48904 - p2p acceptance dialog vanishes too quicklyRoxie Linden
DEV-48903 - malformed names in p2p dialogs for Diamondware In the merge there were some changes that didn't get propagated that resulted in some failures with respect to diamondware name processing. THe determination as to whether a p2p session was with an avatar or with an alcatel (pbx) wasn't propagated into the diamondware code. I fixed that by merging the changes to the vivox module with respect to that into the diamondware module. Also, the acceptance dialog was vanishing too quickly as the determination as to whether there was still a p2p invite pending was not updated when the calling code was updated. The calling code initially was changed to look into vivox state which isn't really valid. that was changed in the 'trunk' to another mechanism, but that still assumed visibility into the voice code. I fixed that by creating an API call to ask whether a call was pending. CR: Karina
2010-04-13Completed normal subtask EXT-6621 (Code cleanup: Remove unused ↵Mike Antipov
LLFloaterActiveSpeakers and related classes from viewer) * Removed llfloateractivespeacker.h/cpp from CMakeLists.txt and from the repo. * Removed llmediaremotectrl.h/cpp, llvoiceremotectrl.h/cpp from the repo (were not in CMakeLists.txt). * Unused in 2.0 setings ("ShowVoiceChannelPopup" & "ShowVolumeSettingsPopup") are moved to the end of settings.xml (to not affect 1.23 if remove). * Removed xml files related to Active Speakers floater and old Communication floater (related cpp files have been already removed). Also removed their localized versions. * Also removed old textures related to removed xml and unused in 2.0 anymore. Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/226/ --HG-- branch : product-engine
2010-04-09Added a method to clear the session font listAimee Linden
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Automated merge with ssh://hg.lindenlab.com/q/viewer-trunkAimee Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-04-06Added voice font selection to the voice floater.Aimee Linden
2010-02-22Added stateFontListReceived to the voice client state machine.Aimee Linden
This makes sure we have the voice font list before attempting to start a session.
2010-02-22Enumerate available voice fonts.Aimee Linden
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
2010-02-26automated mergeRoxie Linden