Commit Graph

49290 Commits (a7509747b20bb8c00a477e8bdacc41f0c657cfdf)

Author SHA1 Message Date
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
Roxie Linden 84f6d30afa when a peer joins, notify them of position and heading 2024-02-08 18:34:01 -08:00
Roxie Linden d093ca0523 Transmit position and power when joining 2024-02-08 18:34:01 -08:00
Roxie Linden 976f63d6ae fix mac build 2024-02-08 18:34:01 -08:00
Roxie Linden e147381eb3 add stereo support 2024-02-08 18:34:01 -08:00
Roxie Linden 861f21957e fix osx build incompatibility 2024-02-08 18:34:01 -08:00
Roxie Linden 819a715a59 sdd stereo support to client 2024-02-08 18:34:01 -08:00
Roxie Linden 025e9dcc4d send position and rotation data to voice server. 2024-02-08 18:34:01 -08:00
Roxie Linden 78228d4dc4 Smooth voice power level reporting. 2024-02-08 18:34:01 -08:00
Roxie Linden 2ad058aa38 join notification was going out before session was created. 2024-02-08 18:34:01 -08:00
Roxie Linden 1794898563 only send volume updates when volume has changed. 2024-02-08 18:34:01 -08:00
Roxie Linden cf72241f97 Fix shutdown crash issue. 2024-02-08 18:34:01 -08:00
Roxie Linden 64ec3cb19f send a message to the server when we're ready for data channel data 2024-02-08 18:34:01 -08:00
Roxie Linden 3f1fa29669 deal with add/remove of participants more effectively. 2024-02-08 18:34:01 -08:00
Roxie Linden f1f1bccad2 Stream audio levels to and from viewers via DataChannels 2024-02-08 18:34:01 -08:00
Roxie Linden fd8119c550 add datachannel support 2024-02-08 18:34:01 -08:00
Roxie Linden 976a75ed24 Fix voice device settings 2024-02-08 18:34:01 -08:00
Roxie Linden 78c9b62043 fix newer xcode build warning 2024-02-08 18:34:01 -08:00
Roxie Linden 112b9e0a96 go ahead and restart voice negotiation when voice is re-enabled 2024-02-08 18:34:01 -08:00
Roxie Linden ecbdda73de fix some shutdown logic in webrtc code 2024-02-08 18:34:01 -08:00
Roxie Linden 0afb330cf1 Remove bad session from janus when negotation fails and is retried. 2024-02-08 18:34:01 -08:00
Roxie Linden f3701803eb build fix on newer osx machines 2024-02-08 18:34:01 -08:00
Roxie Linden f519506e04 fix some retry logic and speaker volume logic 2024-02-08 18:34:01 -08:00