Commit Graph

49298 Commits (4f4f9032cb56712b2b514b5eea46ddda54b4094b)

Author SHA1 Message Date
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
Roxie Linden 162c38f1d5 Remove bad session from janus when negotation fails and is retried. 2024-02-22 23:11:34 -08:00
Roxie Linden c01d83b530 build fix on newer osx machines 2024-02-22 23:11:34 -08:00
Roxie Linden b476e1545b fix some retry logic and speaker volume logic 2024-02-22 23:11:34 -08:00
Roxie Linden 0a844ef047 Fix connection failed logic to do a renegotiate.
Also, remove some dead code.
2024-02-22 23:11:33 -08:00
Roxie Linden c43df8fbd7 disable unused but set warnings on newer compilers on mac. 2024-02-22 23:11:33 -08:00
Roxie Linden 8ba90d0773 Hook up speaker volume. 2024-02-22 23:11:33 -08:00
Roxie Linden 5f267412f6 Add some thread safety 2024-02-22 23:11:33 -08:00
Roxie Linden a974a15179 do some thread safety to prevent webrtc threads from conflicting with viewer threads. 2024-02-22 23:11:33 -08:00
Roxie Linden 6d81e64348 inadvertantly added 2024-02-22 23:11:33 -08:00
Roxie Linden ebfcb6f4e8 some build tweaks 2024-02-22 23:11:33 -08:00
Roxie Linden b2d4ce16ad Fix windows pragma error 2024-02-22 23:11:33 -08:00