Roxie Linden
09ca8a07ea
add concept of primary/secondary connections
2024-02-22 23:11:36 -08:00
Roxie Linden
52dc988519
oopse, forgot to set the requested listener position
2024-02-22 23:11:36 -08:00
Roxie Linden
ed3a1c5773
Connect to close neighboring regions and mute outgoing to them
2024-02-22 23:11:36 -08:00
Roxie Linden
e9d30fda25
Touch up parcel voice enable/disable.
2024-02-22 23:11:36 -08:00
Roxie Linden
9f6d8effb4
Better renegotiation support for parcel voice
...
Better handle starting up and shutting down WebRTC connections
simultaneously.
2024-02-22 23:11:36 -08:00
Roxie Linden
2a375d25dc
fix device selection (hopefully)
2024-02-22 23:11:36 -08:00
Roxie Linden
4d37d1c32f
fix mac build break
2024-02-22 23:11:36 -08:00
Roxie Linden
b58342a4e0
Rework VU meter level processing to be closer to Vivox
2024-02-22 23:11:36 -08:00
Roxie Linden
86b549cb79
Fix crash when disconnecting.
...
When disconnecting, we need to wait for any outstanding http
calls to complete as the handlers may use the session objects.
Also, reap empty sessions.
2024-02-22 23:11:36 -08:00
Roxie Linden
b98d602069
Voice was not renegotiating when re-enabled.
2024-02-22 23:11:35 -08:00
Roxie Linden
dd250273f4
missed file
2024-02-22 23:11:35 -08:00
Roxie Linden
4f4f9032cb
Mute using enable.
...
Muting using the device module microphone mute was muting other
applications, speakers, and so on. Instead, we mute by enabling/disabling
the input and output streams.
2024-02-22 23:11:35 -08:00
Roxie Linden
e5a95a96bf
Setting volume for remote stream needs to happen in signaling thread
2024-02-22 23:11:35 -08:00
Roxie Linden
0b9c27dc70
Using the device module to set speaker/mic volume set the system mic/volume
...
for all applications. Instead, modify the volume on the various streams.
2024-02-22 23:11:35 -08:00
Roxie Linden
7bc2f93e53
fix mac build issue
2024-02-22 23:11:35 -08:00
Roxie Linden
ebfa44cdb7
Refactor/clean-up WebRTC voice to handle multiple voice streams
...
This is useful for cross-region voice, quick voice switching, etc.
2024-02-22 23:11:35 -08:00
Roxie Linden
c33ebcfab6
Remove a bunch of unnecessary code.
2024-02-22 23:11:35 -08:00
Roxie Linden
1b77987a0b
comment fixes
2024-02-22 23:11:35 -08:00
Roxie Linden
85aea763d1
SL-20543 - voice over region boundaries.
...
This commit includes code to allow the llwebrtc.dll/dylib to allow
multiple connections at once.
2024-02-22 23:11:35 -08:00
Roxie Linden
459de5087e
OSX build fix
2024-02-22 23:11:35 -08:00
Roxie Linden
85f987128b
quicker turnaround on re-establishing voice when server goes down.
2024-02-22 23:11:35 -08:00
Roxie Linden
72d66a9a42
copy llwebrtc.dll to the right place on build.
2024-02-22 23:11:35 -08:00
Roxie Linden
747fae2351
reorder params as the runners have different versions of cmake
2024-02-22 23:11:35 -08:00
Roxie Linden
c9f77ebeac
build fix
2024-02-22 23:11:35 -08:00
Roxie Linden
af67b8f3ff
add tcptype to tcp ice candidate strings
2024-02-22 23:11:35 -08:00
Roxie Linden
f760869c91
generate ice candidate with proper formatting
2024-02-22 23:11:35 -08:00
Roxie Linden
c856a52477
Fix race in initialization. Fix failure to send ice candidates to janus.
2024-02-22 23:11:35 -08:00
Roxie Linden
751ff2d4ac
hook up listen from avatar vs camera
2024-02-22 23:11:35 -08:00
Roxie Linden
9d070201fe
fix device selection while speaking.
2024-02-22 23:11:35 -08:00
Roxie Linden
5872e037e8
Improve reconnection logic and allow device setting when connected or not connected
2024-02-22 23:11:35 -08:00
Roxie Linden
ec3ea3b572
tweak position transmission decision
2024-02-22 23:11:35 -08:00
Roxie Linden
bdf6c29975
when a peer joins, notify them of position and heading
2024-02-22 23:11:34 -08:00
Roxie Linden
4359b574e8
Transmit position and power when joining
2024-02-22 23:11:34 -08:00
Roxie Linden
c5796c225d
fix mac build
2024-02-22 23:11:34 -08:00
Roxie Linden
999fb76809
add stereo support
2024-02-22 23:11:34 -08:00
Roxie Linden
f6f45bafc6
fix osx build incompatibility
2024-02-22 23:11:34 -08:00
Roxie Linden
f6becec955
sdd stereo support to client
2024-02-22 23:11:34 -08:00
Roxie Linden
d9ec32b1c3
send position and rotation data to voice server.
2024-02-22 23:11:34 -08:00
Roxie Linden
0110e37c7a
Smooth voice power level reporting.
2024-02-22 23:11:34 -08:00
Roxie Linden
baf01e50cf
join notification was going out before session was created.
2024-02-22 23:11:34 -08:00
Roxie Linden
fc5075dda5
only send volume updates when volume has changed.
2024-02-22 23:11:34 -08:00
Roxie Linden
c087b8648d
Fix shutdown crash issue.
2024-02-22 23:11:34 -08:00
Roxie Linden
4624184f97
send a message to the server when we're ready for data channel data
2024-02-22 23:11:34 -08:00
Roxie Linden
dc56d0104d
deal with add/remove of participants more effectively.
2024-02-22 23:11:34 -08:00
Roxie Linden
1cd8f6f4f8
Stream audio levels to and from viewers via DataChannels
2024-02-22 23:11:34 -08:00
Roxie Linden
8859312b1f
add datachannel support
2024-02-22 23:11:34 -08:00
Roxie Linden
639e63faab
Fix voice device settings
2024-02-22 23:11:34 -08:00
Roxie Linden
b190659300
fix newer xcode build warning
2024-02-22 23:11:34 -08:00
Roxie Linden
af2842793d
go ahead and restart voice negotiation when voice is re-enabled
2024-02-22 23:11:34 -08:00
Roxie Linden
e0126bfe90
fix some shutdown logic in webrtc code
2024-02-22 23:11:34 -08:00