Commit Graph

49325 Commits (da7dfd8186d378b4d87f0bdecad29cf0f51e0793)

Author SHA1 Message Date
Roxie Linden da7dfd8186 Checkpoint mute/volume 2024-02-22 23:11:37 -08:00
Roxie Linden 2817cc55a9 fix mac build break 2024-02-22 23:11:37 -08:00
Roxie Linden ead4feb6f5 Hang up when peer hangs up in ad-hoc driven p2p call 2024-02-22 23:11:37 -08:00
Roxie Linden bc05e7dcf4 checkpoint p2p/adhoc voice 2024-02-22 23:11:37 -08:00
Roxie Linden d3ab894c87 mac build fixes 2024-02-22 23:11:36 -08:00
Roxie Linden 8e61bc80c0 Treat adhoc/p2p as primary connections 2024-02-22 23:11:36 -08:00
Roxie Linden bb2994d9ba Checkpoint Ad-Hoc voice.
Unlike vivox, P2P uses the ad-hoc voice mechanism, which is also used by
group voice.
2024-02-22 23:11:36 -08:00
Roxie Linden e8edfbf3d4 OSX build fixes 2024-02-22 23:11:36 -08:00
Roxie Linden 844b2d8c8a checkpoint for adhoc voice 2024-02-22 23:11:36 -08:00
Roxie Linden 106a589dee New WebRTC with echo cancellation fix.
Also, start/stop recording depending on whether WebRTC has negotiated.
2024-02-22 23:11:36 -08:00
Roxie Linden 9b2362f73e Enable AEC 2024-02-22 23:11:36 -08:00
Roxie Linden 45fea8ef3f some comments 2024-02-22 23:11:36 -08:00
Roxie Linden 1043accd96 Set mute, speaker volume, mic gain on creation of new connection. 2024-02-22 23:11:36 -08:00
Roxie Linden 1cdc25750c Fix enable/disable issue when connecting to multiple regions 2024-02-22 23:11:36 -08:00
Roxie Linden 28b3e53082 Add viewer-visible session ID to allow multiple sessions under same agent id 2024-02-22 23:11:36 -08:00
Roxie Linden af5cc7bd70 Don't need to send level data up to the server anymore 2024-02-22 23:11:36 -08:00
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