Commit Graph

50153 Commits (2b275d43fb70f396bba4249c34442e7d70a76e19)

Author SHA1 Message Date
Roxie Linden 2b275d43fb Clean up some shutdown code. 2024-05-17 13:27:45 -07:00
Roxie Linden cfd358f933 WebRTC clients calling Vivox clients should handle P2P 2024-05-16 13:34:13 -07:00
Roxie Linden c6e147ff22 Race condition resulted in close causing removal of peer connection while other jobs might be using it. 2024-05-16 12:00:45 -07:00
Roxie Linden 57b99aec74 Don't overwrite voice channel's credentials when retrieving the channel. 2024-05-13 18:40:00 -07:00
Roxie Linden 39d24e90b9 incoming p2p sessions for webrtc may not have names yet. 2024-05-13 12:36:07 -07:00
Roxie Linden 27e4913b5c Fix issue where groups/adhoc chats were named with the initiators display name 2024-05-10 09:36:38 -07:00
Roxie Linden 70af754dc0 Merge branch 'project/webrtc-voice' of https://github.com/secondlife/viewer into roxie/webrtc-voice 2024-05-08 14:45:26 -07:00
Roxie Linden c628c1f6e4 Fix some session shutdown/error handling code 2024-05-08 14:22:43 -07:00
Roxie Linden 74028326e8 The IM Floater speak button was disabled when making group calls
This is because the button enable state was updated before the
call had fully established.
2024-05-06 18:40:25 -07:00
Roxie Linden 4af9128db1 Merge branch 'main' of https://github.com/secondlife/viewer into roxie/webrtc-voice 2024-05-06 16:40:12 -07:00
Roxanne Skelly 818c8c6dea
Merge pull request #1401 from secondlife/webrtc-voice 2024-05-03 15:07:20 -07:00
Roxanne Skelly cce51e98b1
Merge pull request #1390 from secondlife/roxie/webrtc-voice
[WebRTC] Remove old region's participants when transiting to a new region.
2024-05-02 22:24:59 -07:00
nat-goodspeed 10aa7f4254
Merge pull request #1391 from secondlife/with-tests
Turn on LL_TESTS for CI builds.
2024-05-02 17:34:34 -04:00
Roxie Linden 05b2dd913f Update the participant's region when crossing region boundaries. 2024-05-02 13:15:44 -07:00
nat-goodspeed 2c1647e84c
Merge pull request #1389 from secondlife/brad/fix-gltfmaterial-tests
brad/fix gltfmaterial tests
2024-05-02 14:44:33 -04:00
Roxie Linden e02c92cb6a Merge branch 'roxie/webrtc-voice' of github.com:secondlife/viewer into roxie/webrtc-voice 2024-05-02 11:10:22 -07:00
Roxie Linden 07c3095a78 Unregister requested data channel when using the negotiated one.
When creating a new connection, the viewer builds a data channel interface.
It then gets a new one, which is a proxy.  The viewer uses the new one,
and therefore must unregister the callbacks from the old one.

Also, update the position data before sending it after the join is sent.
2024-05-02 11:07:36 -07:00
Brad Linden 8d5372577c Update LLGLTFMaterial tests for changes introduced in SL-20523
also correct member packing to match server side
2024-05-02 10:54:15 -07:00
Vir Linden 079c6ab9af
Merge pull request #1376 from secondlife/project/channel_by_branch
Project/channel by branch
2024-05-02 11:01:11 -04:00
Vir Linden 6eeef10cda
Update build.yaml 2024-05-02 10:08:46 -04:00
Vir Linden eb0f963b46
Update build.yaml 2024-05-02 09:48:26 -04:00
Nat Goodspeed 4329e95379 Turn on LL_TESTS for CI builds. 2024-05-02 09:14:55 -04:00
Vir Linden 7f23f160d7 trim trailing whitespace 2024-05-01 17:51:44 +01:00
Vir Linden 65495ba765 set viewer channel from branch 2024-05-01 16:42:09 +01:00
Vir Linden ab85470985 Merge branch 'main' into project/channel_by_branch 2024-05-01 16:32:46 +01:00
Roxie Linden 1bca2b2036 don't register callbacks from the data channel twice. 2024-04-30 15:35:48 -07:00
Roxie Linden f9cb9a2b05 Can't delete from a map while iterating over it. 2024-04-30 12:58:07 -07:00
Roxie Linden 2c50399720 Remove voice participants for a connection when shutting it down.
When teleporting or moving around, connections to regions are shut down.
We need to track which participants are associated with the given
connections and remove those participants when the connection is
shut down.
2024-04-30 11:45:21 -07:00
Roxanne Skelly 7cdc327de9
Merge pull request #1349 from secondlife/roxie/webrtc-voice
[WebRTC-Voice] Fix server reconnect issue (and other issues)
2024-04-28 21:03:33 -07:00
Roxie Linden 57182b2ac0 tabbing 2024-04-28 19:39:23 -07:00
Roxie Linden cf13866da9 Don't default the tracks to unmuted 2024-04-28 18:43:48 -07:00
Roxie Linden d4fce4990a Reconnects to the voice server weren't happening. 2024-04-28 17:43:15 -07:00
Roxie Linden 62cd262cca attempt to access participant after it's deleted 2024-04-26 22:00:32 -07:00
Roxie Linden 4c4d23acb0 Renegotiate voice if the voice server type has changed.
The server will send an update with new voice credentials
when another peer comes in requiring vivox, if the channel
was initially webrtc.
2024-04-26 21:31:06 -07:00
Nat Goodspeed f886a438ed Adapt llimageworker_test for updated virtual method API.
This was a broken test that got all the way to viewer release and the main
branch.

(cherry picked from commit a33a9d29380e6c1a0a9cc539be309d47adef4acf)
2024-04-25 14:38:00 -04:00
Vir Linden a3602d660c
Merge pull request #1323 from secondlife/main
Update from main
2024-04-24 16:02:42 -04:00
Nat Goodspeed d98fc504a1 Increment viewer version to 7.1.7
following promotion of secondlife/viewer #736
2024-04-24 09:43:07 -04:00
Nat Goodspeed fc71a9c1ed Merge release/maint-yz to main on promotion of secondlife/viewer #736: Maintenance YZ 7.1.6.8745209917 2024-04-24 09:43:04 -04:00
Roxie Linden 534ddc5290 Before login, voice device preferences were not populated.
Before login, when the user shows voice device preferences,
the dropdowns were not populated.  This is because WebRTC's view
of the main queue was not configured.
2024-04-23 10:57:02 -07:00
Roxanne Skelly b09070a3ac
Merge pull request #1295 from secondlife/roxie/webrtc-voice
[WebRTC] Outgoing calls now use the voice server type corresponding to the region the agent is on.
2024-04-22 01:23:35 -07:00
Roxie Linden 98322d5f07 Reconnect when parcel voice params change.
When parcel voice permissions and region/parcel-only voice
settings change, a callback will be made to the viewer with
new voice credential information.  For webrtc, this means
either just the uuid of the voice channel, or nothing if
voice is disabled.

This change looks at that callback and the channel id,
and sets the appropriate flags on the parcel/region as needed
which will cause voice to be renegotiated.

Also, there was a race condition if the voice connect attempt
was made before caps were retrieved, which would have resulted
in full renegotiate attempts.  Now, just wait until the cap
comes in and continue.
2024-04-21 21:12:06 -07:00
Roxie Linden 07d7779d87 Vivox wasn't ren-enabling voice after ending a p2p call 2024-04-20 17:34:27 -07:00
Roxie Linden 1a1af1ce29 Adjust logic for determine what voice server type to use. 2024-04-20 00:26:39 -07:00
Roxie Linden 784dae7e6a re-enabling vivox voice didn't bring it back as it thought it was still in the region and parcel. 2024-04-20 00:19:55 -07:00
Roxie Linden b59ff9edc0 For p2p/adhoc/group calls, prefer voice server type based on what's running on the region 2024-04-19 18:52:32 -07:00
Vir Linden 6ca4dfdb56
Update build.yaml 2024-04-19 16:16:26 -04:00
Vir Linden a65de93541 https://github.com/secondlife/viewer/issues/1286 - branch var from github.repository 2024-04-19 19:51:19 +01:00
Vir Linden f39987f382 https://github.com/secondlife/viewer/issues/1286 - branch var from github.repository 2024-04-19 19:47:46 +01:00
Vir Linden c2730b4fff https://github.com/secondlife/viewer/issues/1286 - determine viewer_channel from branch name in builds 2024-04-19 16:44:59 +01:00
Andrey Lihatskiy 5e40b5e644 Revert "SL-20140 Setting shape hand size to 36 won't save"
This reverts commit 810a3d24c2. (secondlife/jira-archive-internal#70482)
2024-04-19 00:54:51 +03:00