Commit Graph

95 Commits (5fa00a67af6364554c05eb3ca0339770fa6da455)

Author SHA1 Message Date
Mike Antipov 3a5ae14b85 Completed normal subtask EXT-6621 (Code cleanup: Remove unused 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-13 18:26:36 +03:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Roxie Linden a2efe4bb41 automated merge 2010-02-26 19:18:15 -08:00
Roxie Linden 5352954eb6 automated merge 2010-02-26 17:34:39 -08:00
Roxie Linden 5ed6e0720a warn-on-failure:unix-eol
automated merge from trunk
2010-02-25 16:50:21 -08:00
Roxie Linden 0ac14158bc automated merge from trunk 2010-02-25 14:12:18 -08:00
Roxie Linden 6bb43e1369 Automated merge up from viewer 2.0 trunk.
Some llvoiceclient changes duplicated changes that had already been
made in the voice modularization refactor, so the refactor versions
were used.
2010-02-24 17:04:48 -08:00
Aimee Linden 1ae70e112a EXT-5370: Voice volumes set for other agents reverting between voice sessions
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-18 12:04:21 +00:00
Tofu Linden a2c6c09c53 CID-209
Checker: REVERSE_INULL
Function: LLVoiceClient::startUserIMSession(const LLUUID &)
File: /indra/newview/llvoiceclient.cpp
2010-02-15 17:32:55 +00:00
Mike Antipov b1891e2982 Fixed normal bug EXT-4925 (Please make user voice settings compatible with 1.23)
- 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-04 16:43:59 +02:00
Tofu Linden fc70ca5403 PE merge. 2010-02-03 15:52:44 +00:00
Andrew Dyukov 11f732bbbe No ticket. Added comments regarding EXT-4758 and LLVoiceClient::voiceWorking() in general to clear things up a bit.
--HG--
branch : product-engine
2010-02-03 16:37:32 +02:00
Tofu Linden b1519222ab PE merge. 2010-02-02 21:18:41 +00:00
Andrew Dyukov f0a18ec0a6 Fixed normal bug EXT-4758 ("Call" button in IM window is disabled after call from parcel with disabled voice)
- One more voice client state is now treated by voiceWorking() as valid.

--HG--
branch : product-engine
2010-02-02 20:55:45 +02:00
Aimee Linden 6ea944b38f Supplementary fix EXT-4770 : Voice muting not working properly due to a 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-02 14:10:38 +00:00
Aimee Linden 5eee046bb7 Fix EXT-4770 : Voice muting not working properly due to a change in the Vivox API
Added <Scope>Audio</Scope> to the SetParticipantMuteForMe message.

Reviewed by Lynx
2010-02-01 12:03:15 +00:00
Vadim Savchuk db4e46e93d Mere from default branch
--HG--
branch : product-engine
2010-01-29 16:46:06 +02:00
Tofu Linden 245c044e3b CID-369
Checker: UNINIT_CTOR
Function: LLVoiceClient::sessionState::sessionState()
File: /indra/newview/llvoiceclient.cpp
2010-01-28 11:14:01 -08:00
Tofu Linden 3091c30af0 CID-370
Checker: UNINIT_CTOR
Function: LLVivoxProtocolParser::LLVivoxProtocolParser()
File: /indra/newview/llvoiceclient.cpp
2010-01-28 11:12:16 -08:00
Igor Borovkov cbde80b879 got rid of llfloaterfriends.h includes for EXT-1196 Stalls on startup in LLPanelFriends::refreshNames
--HG--
branch : product-engine
2010-01-28 18:40:51 +02:00
Mike Antipov 6e932911d5 Related to normal bug EXT-4108 ([BSI] Voice volume sliders do not preserve 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-25 17:29:57 +02:00
Mike Antipov 2ea3fd9563 Fixed normal bug EXT-4108 ([BSI] Voice volume sliders do not preserve 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-25 17:06:35 +02:00
Andrew Dyukov ab0c9c6754 Fixed normal bugs EXT-4450 ([BSI] call buttons enabled when voice is 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-22 22:16:57 +02:00
Mike Antipov 7f61cde331 Reducing include dependence from the "llspeakers.h" through "llimview.h" (following by the 7d600b529ee8 commit)
--HG--
branch : product-engine
2010-01-20 23:28:57 +02:00
Ychebotarev ProductEngine 82de841c52 merge
--HG--
branch : product-engine
2010-01-19 17:13:21 +02:00
Ychebotarev ProductEngine f28778b8b8 work on EXT-4322 Remove the Communicate floater
leave some LLFloaterChat usages commented for later review...

--HG--
branch : product-engine
2010-01-18 17:50:19 +02:00
richard 109b79e9ad merge 2010-01-15 10:15:57 -08:00
Mike Antipov fc633fce71 Work on major bug EXT-3976 (Voice chat speaking indicators should only 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-14 18:24:38 +02:00
angela 433eb89473 EXT-3795 First run messages still display (click & drag on map, Build tools open, movement controlled, etc) 2010-01-14 09:38:46 +08:00
Mike Antipov e673fdea3f Fixed low bug EXT-3897 ( Turn off log spam: "LLIMModel::getSpeakerManager: 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-04 15:33:56 +02:00
Igor Borovkov ed1eb29c7e implemented EXT-3642 Default mic states for voice calls
--HG--
branch : product-engine
2010-01-04 13:48:13 +02:00
Mike Antipov 91a8410757 Fixed normal bug EXT-3544 (Voice icon doesn't become "muted" in the voice 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-25 16:31:52 +02:00
Lynx Linden 5d7cb42360 EXT-3517: Update mic/speaker volume scaling.
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-16 17:10:29 +00:00
Vadim Savchuk f493b62f86 Merge from default branch.
--HG--
branch : product-engine
2009-12-14 15:07:16 +02:00
Lynx Linden eda8634b17 EXT-3394: Remove manual voice gain controls.
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-11 15:06:32 +00:00
Dmitry Oleshko ee7683f631 fixed normal bug (EXT-3246) Do not show "Calling to..." notification dialog 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-11 19:53:19 +02:00
Dmitry Oleshko 8b6b55e079 work on normal tasks:
(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-08 17:19:09 +02:00
Lynx Linden bd4c1fa8d8 DEV-40702: Internationalize the unknown Vivox version string rather
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-12-01 10:52:04 +00:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -08:00
James Cook 458430be91 Removed include llnotifications.h from llfloater.h trying to speed builds
Fixed many other includes related to this file.
Cleaned out llfloatertestlistview to be an empty test floater.
2009-11-24 22:13:10 -08:00
Rick Pasetto 3bb86f91bc Clean up some logging 2009-11-20 14:01:49 -08:00
Lynx Linden c0ff08e0b4 Automated merge with ssh://hg.lindenlab.com/moss/viewer2voiceparity/ 2009-11-12 18:03:36 +00:00
Lynx Linden a4375f8a30 DEV-41324 DEV-41331: Improvements to the Avaline voice workflow.
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-12 15:46:51 +00:00
Tofu Linden 7cf3008da7 more work on the outgoing call popup... 2009-11-12 14:15:19 +00:00
Tofu Linden 8b9c031f59 Smarter mildly-refactored voice-toggle state management. 2009-11-09 17:51:21 +00:00
Tofu Linden 7804990998 remove #include no longer needed. 2009-11-09 17:07:36 +00:00
Tofu Linden e9d09879d6 Don't have LLVoiceClient manually poke the nearbychatbar's 'speak' button's visual state as a special case
- all speak buttons will soon know how to poll (sigh) the ptt state, with more reliability.
2009-11-09 17:06:49 +00:00
Lynx Linden 3ec9f79f07 DEV-40702: fixed the audio device enumeration code so that it works
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.
2009-11-02 15:51:55 +00:00
Igor Borovkov 6222149487 IM refactoring: moved voice channel related classes to its own llvoicechannel.* files from dying llimpanel.* files
--HG--
branch : product-engine
2009-10-27 13:16:44 +02:00
Mark Palange (Mani) 3e10fa4d51 merge from latest svn/viewer-2-0 to hg/viewer-2-0 2009-10-16 16:42:45 -07:00