Roxie Linden
c6e673cda1
Fix windows crashes
...
* sampling rate was set to 8khz for audio processing, which was
causing a 'bands' mismatch with the echo cancler.
* Some funnybusiness with lambdas and captures and such was causing
a heap crash with respect to function parameters.
2024-03-30 23:19:38 -07:00
Roxie Linden
567180508f
Merge branch 'roxie/webrtc-voice' of https://github.com/secondlife/viewer into roxie/webrtc-voice
2024-03-30 22:03:59 -07:00
Roxie Linden
b3bb3d2d51
Renegotiate on remote description error
2024-03-30 22:03:30 -07:00
Roxie Linden
cdae5ebc16
Add UI for managing echo cancellation, AGC, and noise control.
...
Plumb audio settings through from webrtc to the sound preferences
UI (still needs some tweaking, of course.)
Also, choose stun servers based on grid. Ultimately, the stun
stun servers will be passed up via login or something.
2024-03-30 21:58:00 -07:00
Roxie Linden
e272e387d3
Throw 'area full' message when the voice server reports max users for voice
2024-03-24 20:51:08 -07:00
Roxie Linden
92171a42c9
Not sending proper voice server type down when breaking a connection
2024-03-24 20:50:49 -07:00
Roxie Linden
8d14df5984
Not sending proper voice server type down when breaking a connection
2024-03-24 20:42:32 -07:00
Roxanne Skelly
32e3a39e27
Merge pull request #1036 from secondlife/roxie/webrtc-voice-workqueue
...
Move processIceUpdates into a coroutine
2024-03-22 18:00:21 -07:00
Roxie Linden
168081c7e9
Validate that we're not shutting down after coroutine processing
...
Coroutine yields can end after shutdown is requested and
voice connections are removed, so we need to check that
a shutdown hasn't occured before attempting to touch
connection objects.
(CR issue)
2024-03-22 17:00:34 -07:00
Roxie Linden
e242c129f9
Add Tracy categories for WebRTC Voice
...
Also:
* Fix a few crashes.
* Only send position data when it changes.
2024-03-22 16:21:02 -07:00
Roxie Linden
4b709e7944
Turn procesIceUpdates into a coroutine to chop up the work a bit.
2024-03-20 11:15:12 -07:00
Roxanne Skelly
6047b61b2a
Merge pull request #1021 from secondlife/roxie/webrtc-voice-workqueue
...
WebRTC: Make callbacks from webrtc-proper launch workqueue jobs to run code on the main thread, instead of relying on mutexes and such.
2024-03-19 22:47:44 -07:00
Roxie Linden
0e2fc4d35e
Clear out observers when terminating a connection
2024-03-19 17:05:56 -07:00
Roxie Linden
5bc92b8031
Simplify workqueue calls. Fix issue with webrtc blocking on destruction.
2024-03-19 15:23:43 -07:00
Roxanne Skelly
410be3b2d0
Merge pull request #119 from secondlife/roxie/webrtc-voice
...
Update webrtc path; fix crash; fix region voice not always working issue.
2024-03-18 18:13:22 -07:00
Roxie Linden
e4dee511ca
Use LL::WorkQueue to handle transitions from llwebrtc threads to the main thread
2024-03-18 17:47:56 -07:00
Roxie Linden
3794e3275c
use the github release asset path for autobuild webrtc
2024-03-18 17:32:51 -07:00
Roxie Linden
2f40b1fcef
update to use public github-based release of autobuild webrtc
2024-03-18 17:13:36 -07:00
Roxie Linden
c121d48339
Merge branch 'roxie/webrtc-voice' of github.com:secondlife/viewer-private into roxie/webrtc-voice
2024-03-16 15:19:43 -07:00
Roxie Linden
8530eadd98
Fix crash in setting peer volume/mute
...
Also fix issue where moving to a 'voice disabled' parcel and back
to the region (with voice) resulted in the voice dot not showing up.
2024-03-16 15:17:35 -07:00
Roxie Linden
0e7b5f5270
Update paths for webrtc-shim
2024-03-15 12:24:37 -07:00
Roxanne Skelly
23ecf64b24
Merge pull request #118 from secondlife/roxie/webrtc-voice
...
Various WebRTC Fixes and Improvements
2024-03-15 11:12:41 -07:00
Roxie Linden
dbbbbc55af
Refactor device selection logic
...
This refactor fixed a few bugs. There is an annoying 'click' when
changing devices, however. This will be addressed in the future.
2024-03-14 20:04:39 -07:00
Roxie Linden
ef8a3833eb
Add increasing random timeout to retries.
2024-03-13 13:15:50 -07:00
Roxie Linden
e5a7c9cc4e
some comments; allow proximal channel to retry when it drops
2024-03-13 11:36:21 -07:00
Roxanne Skelly
b32364ba49
Merge pull request #116 from secondlife/roxie/webrtc-voice
...
WebRTC-based voice for Second Life
2024-03-13 11:33:13 -07:00
Roxie Linden
76460e8c2c
Use LLCachedControl to speed up voice enable/disable checking
2024-03-11 22:45:36 -07:00
Roxie Linden
37837edd69
Fixup some logic relating to teleporting and new regions
2024-03-11 22:12:21 -07:00
Roxie Linden
1f177d837c
fixup tabs
2024-03-11 14:41:12 -07:00
Roxie Linden
d67a3022d3
Merge branch 'main' of github.com:secondlife/viewer-private into roxie/webrtc-voice
2024-03-10 15:36:58 -07:00
Roxie Linden
fc462b2b0f
Remove trailing spaces. Other code cleanup.
2024-03-10 00:11:43 -08:00
Roxie Linden
7714850fbe
code beautification/comments
2024-03-09 23:00:00 -08:00
Roxie Linden
c7efdefb2c
Merge branch 'roxie/webrtc-voice' of github.com:secondlife/viewer-private into roxie/webrtc-voice
2024-03-09 16:48:54 -08:00
Roxie Linden
fd2d5c9c6c
Code cleanup and commenting
2024-03-09 16:48:44 -08:00
Roxie Linden
994039c948
Use webrtc autobuild package
2024-03-08 22:49:05 -08:00
Roxie Linden
42c7a335f8
Fix issue with spatial and p2p being up at the same time
...
Also, fix issue with voice still happening in parcels where voice is
disabled.
2024-03-07 23:13:11 -08:00
Roxie Linden
425f089ffc
addSession had a changed parameter...which wasn't changed everywhere
2024-03-07 19:30:32 -08:00
Roxie Linden
041946455d
Send down preferred voice server type when initiating a call
2024-03-07 15:00:04 -08:00
Roxie Linden
6719d9fa52
update webrtc
2024-03-07 01:26:07 -08:00
Roxie Linden
28032582f2
Shutting down a p2p via adhoc call resets the channel info. We shouldn't throw up a blank dialogue when that happens
2024-03-06 11:17:54 -08:00
Roxie Linden
967534352b
more p2p logic fixes
2024-03-05 20:55:13 -08:00
Roxie Linden
70044b9d2b
The response from the provision account call was being called twice for some reason
2024-03-05 18:57:22 -08:00
Roxie Linden
2c2529d3c8
Notify join on connect instead of on first peer join, for adhoc-p2p incoming calls
2024-03-05 11:48:56 -08:00
Roxie Linden
6d5304bd92
For webrtc, 'calling' dialog should remain up, disappearing when peer connects (p2p)
2024-03-05 11:05:31 -08:00
Roxie Linden
f4c1e2e795
Pass invitation type (p2p/group/adhoc) around
2024-03-04 15:23:20 -08:00
Roxie Linden
fb0786b9c5
Merge branch 'roxie/webrtc-voice' of github.com:secondlife/viewer-private into roxie/webrtc-voice
2024-03-03 22:35:12 -08:00
Roxie Linden
b17c668d12
fix webrtc logic bugs and such
2024-03-03 22:34:35 -08:00
Roxie Linden
66d65edbc4
OSX build fixes
2024-03-03 16:13:41 -08:00
Roxie Linden
2117f8c4ba
Refactor for vivox spatial and p2p
...
General refactoring to improve vivox spacial and p2p voice
including generalizing voice info instead of just using
sip uri and credentials. Voice server type is also passed
around in the generalized voice info blob.
2024-03-03 15:50:35 -08:00
Nat Goodspeed
b242d696ba
Merge branch 'main' of github.com:secondlife/viewer
...
on promotion of DRTVWR-489 Emoji viewer.
2024-03-01 11:15:53 -05:00