Commit Graph

49312 Commits (73b00bfe94a6a2a4ea0abc2cf716d835820dfdba)

Author SHA1 Message Date
Roxie Linden 73b00bfe94 Handle 'device changed' callback 2024-02-08 18:35:55 -08:00
Roxie Linden fd077d8a9b small logic errors in mute/volume for others code 2024-02-08 18:35:55 -08:00
Roxie Linden 8ab0bb9a41 fix locking race condition 2024-02-08 18:35:55 -08:00
Roxie Linden 56fdc19e95 Checkpoint mute/volume 2024-02-08 18:35:55 -08:00
Roxie Linden 4bf9dc2291 fix mac build break 2024-02-08 18:35:55 -08:00
Roxie Linden 0cd8ad6ebb Hang up when peer hangs up in ad-hoc driven p2p call 2024-02-08 18:35:55 -08:00
Roxie Linden ecd6b87b19 checkpoint p2p/adhoc voice 2024-02-08 18:35:55 -08:00
Roxie Linden 4b65e2b266 mac build fixes 2024-02-08 18:35:54 -08:00
Roxie Linden 0242304764 Treat adhoc/p2p as primary connections 2024-02-08 18:35:21 -08:00
Roxie Linden 0e6103e3a9 Checkpoint Ad-Hoc voice.
Unlike vivox, P2P uses the ad-hoc voice mechanism, which is also used by
group voice.
2024-02-08 18:35:21 -08:00
Roxie Linden ef90eba410 OSX build fixes 2024-02-08 18:35:21 -08:00
Roxie Linden b5c1f0fd6e checkpoint for adhoc voice 2024-02-08 18:35:21 -08:00
Roxie Linden 7246f55290 New WebRTC with echo cancellation fix.
Also, start/stop recording depending on whether WebRTC has negotiated.
2024-02-08 18:35:21 -08:00
Roxie Linden 23b065b0f1 Enable AEC 2024-02-08 18:34:02 -08:00
Roxie Linden 9a8c4c509c some comments 2024-02-08 18:34:02 -08:00
Roxie Linden 6abc8b5c99 Set mute, speaker volume, mic gain on creation of new connection. 2024-02-08 18:34:02 -08:00
Roxie Linden 3f2d52e5df Fix enable/disable issue when connecting to multiple regions 2024-02-08 18:34:02 -08:00
Roxie Linden c393c3bd2b Add viewer-visible session ID to allow multiple sessions under same agent id 2024-02-08 18:34:02 -08:00
Roxie Linden 423892d023 Don't need to send level data up to the server anymore 2024-02-08 18:34:02 -08:00
Roxie Linden ec59d2477f add concept of primary/secondary connections 2024-02-08 18:34:02 -08:00
Roxie Linden d2fee1c345 oopse, forgot to set the requested listener position 2024-02-08 18:34:02 -08:00
Roxie Linden 47ebf19008 Connect to close neighboring regions and mute outgoing to them 2024-02-08 18:34:02 -08:00
Roxie Linden a7509747b2 Touch up parcel voice enable/disable. 2024-02-08 18:34:02 -08:00
Roxie Linden a60593164e Better renegotiation support for parcel voice
Better handle starting up and shutting down WebRTC connections
simultaneously.
2024-02-08 18:34:02 -08:00
Roxie Linden e3b719f41e fix device selection (hopefully) 2024-02-08 18:34:02 -08:00
Roxie Linden 1b2b5d2de9 fix mac build break 2024-02-08 18:34:02 -08:00
Roxie Linden c51309ac72 Rework VU meter level processing to be closer to Vivox 2024-02-08 18:34:02 -08:00
Roxie Linden 60da67c56c 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-08 18:34:02 -08:00
Roxie Linden ec7bd371f6 Voice was not renegotiating when re-enabled. 2024-02-08 18:34:02 -08:00
Roxie Linden 63dcf25452 missed file 2024-02-08 18:34:01 -08:00
Roxie Linden e92e4d762e 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-08 18:34:01 -08:00
Roxie Linden b10731f6f9 Setting volume for remote stream needs to happen in signaling thread 2024-02-08 18:34:01 -08:00
Roxie Linden 7a6c796452 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-08 18:34:01 -08:00
Roxie Linden 82c9e52865 fix mac build issue 2024-02-08 18:34:01 -08:00
Roxie Linden d302d89891 Refactor/clean-up WebRTC voice to handle multiple voice streams
This is useful for cross-region voice, quick voice switching, etc.
2024-02-08 18:34:01 -08:00
Roxie Linden bce9e50cd3 Remove a bunch of unnecessary code. 2024-02-08 18:34:01 -08:00
Roxie Linden 7db561d1dc comment fixes 2024-02-08 18:34:01 -08:00
Roxie Linden 2d20fbbb16 SL-20543 - voice over region boundaries.
This commit includes code to allow the llwebrtc.dll/dylib to allow
multiple connections at once.
2024-02-08 18:34:01 -08:00
Roxie Linden 39ce52f897 OSX build fix 2024-02-08 18:34:01 -08:00
Roxie Linden a7b70788a8 quicker turnaround on re-establishing voice when server goes down. 2024-02-08 18:34:01 -08:00
Roxie Linden 5c574d44c5 copy llwebrtc.dll to the right place on build. 2024-02-08 18:34:01 -08:00
Roxie Linden b831502f78 reorder params as the runners have different versions of cmake 2024-02-08 18:34:01 -08:00
Roxie Linden 795edd490b build fix 2024-02-08 18:34:01 -08:00
Roxie Linden 7da53bacc6 add tcptype to tcp ice candidate strings 2024-02-08 18:34:01 -08:00
Roxie Linden 70663ca395 generate ice candidate with proper formatting 2024-02-08 18:34:01 -08:00
Roxie Linden a12e23f349 Fix race in initialization. Fix failure to send ice candidates to janus. 2024-02-08 18:34:01 -08:00
Roxie Linden f98e714f60 hook up listen from avatar vs camera 2024-02-08 18:34:01 -08:00
Roxie Linden 6b29ced707 fix device selection while speaking. 2024-02-08 18:34:01 -08:00
Roxie Linden 8bd9675311 Improve reconnection logic and allow device setting when connected or not connected 2024-02-08 18:34:01 -08:00
Roxie Linden 35b4c7633e tweak position transmission decision 2024-02-08 18:34:01 -08:00