Commit Graph

127 Commits (de1e1db9600a03ab5b0dc3f04a5bdcee30632f05)

Author SHA1 Message Date
Monroe Linden 57b8571a8a Added the VoiceDisableMic debug setting to completely disable the ability to open the mic.
Also hoisted PTT key handling from LLVivoxVoiceClient up to LLVoiceClient.  This cleans up LLVoiceModuleInterface a bit and makes the PTT logic more centralized.

Reviewed by Richard.
2010-09-24 16:17:12 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Aimee Linden fd98253aec Fix borked merge, DOH! 2010-05-28 18:46:22 +01:00
Aimee Linden 24a867a646 Merged from ssh://hg.lindenlab.com/dessie/viewer-private 2010-05-28 17:19:20 +01:00
Tofu Linden 6f8e96159a CID-448
Checker: UNINIT_CTOR
Function: LLVoiceClient::LLVoiceClient()
File: /indra/newview/llvoiceclient.cpp
2010-05-28 12:41:54 +01:00
Aimee Linden 40e240fe61 EXT-7138 WIP Renamed VoiceEffectEnabled debug setting to VoiceMorphingEnabled.
Hide Me->My Voice menu item when VoiceMorphing is disabled.
Removed temporary VoiceFontsAvailable debug setting.
2010-05-24 03:00:29 +01:00
Aimee Linden 04ef90ceb0 EXT-7390 WIP Created SLapp secondlife:///app/voice/effects/refresh to update the voice effect list with new effects. 2010-05-18 15:55:22 +01:00
Aimee Linden 9cec4bdd69 EXT-7138 WIP Merged Voice fonts work into the newly modularized LLVoiceClient.
Created LLVoiceEffectInterface as an optional interface to be implemented by voice modules that support voice effects.
2010-05-13 13:30:28 +01:00
Aimee Linden 8aac434802 EXT-7138 WIP Added temporary debug setting "VoiceFontsAvailable", to test UI when no voice fonts are available. 2010-05-12 02:26:43 +01:00
Aimee Linden 270da3e141 EXT-7138 WIP Allow selection of no voice font when none are available. 2010-05-12 02:24:46 +01:00
Aimee Linden ba921a37fe EXT-7138 WIP Enumerate template voice fonts.
Also simplified LLPanelVoiceFont some.
2010-05-12 01:54:46 +01:00
Aimee Linden 1cb1e3d16f Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public 2010-05-10 12:51:40 +01:00
Roxie Linden 7d8b37f724 Automated merge 2010-05-04 15:12:21 -07:00
Roxie Linden 2848d35e2c re-merge e7cef87fae39 - EXT-6031 refactoring of voice volume representation 2010-05-04 14:03:30 -07:00
Aimee Linden 7a6474129c Move the Voice Font control from LLCallFloater to its own panel so that it can be reused. 2010-04-30 19:38:52 +01:00
Mike Antipov 78eed3fc07 WIP: normal bug EXT-6865 (Voice isn't blocked for Avaline callers connected 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-30 13:25:48 +03:00
Aimee Linden 38f45a3595 Make the current voice font a per-account saved setting. 2010-04-29 18:38:08 +01:00
Aimee Linden 46897efc3e Make a proper XUI commit_callback for the Voice Font combo 2010-04-29 02:37:07 +01:00
Aimee Linden cacfa18643 Persist Voice Font selection.
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-28 03:33:15 +01:00
Roxie Linden c139e52a5b Remove diamondware and rearrange login panel to be like it is in the default viewer 2 build 2010-04-21 14:22:49 -07:00
Aimee Linden 7fc3364685 Sort out the state machine in LLVoiceClient to wait for voice fonts properly. 2010-04-20 03:23:03 +01:00
Roxie Linden 6823879c1a CR Changes from Aimee 2010-04-19 12:52:43 -07:00
Aimee Linden d6549677fb Removed left over initialization to 0 of mVoiceFontID from when it was an integer rather than a UUID. 2010-04-19 15:38:17 +01:00
Aimee Linden dad1c52ed1 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-04-19 15:31:52 +01:00
Aimee Linden e9b613e8d4 Identify fonts with UUIDs rather than using the font indexes directly as 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-19 15:16:48 +01:00
Roxie Linden d66c242fea DEV-48904 - p2p acceptance dialog vanishes too quickly
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-14 17:21:44 -07:00
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
Aimee Linden 5a8770c9e3 Added a method to clear the session font list 2010-04-09 01:29:03 +01:00
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Aimee Linden 762672ad63 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-04-07 15:16:32 +01:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Aimee Linden 9f9b240dce Added voice font selection to the voice floater. 2010-04-06 11:39:01 +01:00
Aimee Linden 5518e15f89 Added stateFontListReceived to the voice client state machine.
This makes sure we have the voice font list before attempting to start a session.
2010-02-22 16:52:23 +00:00
Aimee Linden 0f61c00218 Enumerate available voice fonts. 2010-02-22 16:50:46 +00: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