Commit Graph

39 Commits (73b00bfe94a6a2a4ea0abc2cf716d835820dfdba)

Author SHA1 Message Date
Roxie Linden 73b00bfe94 Handle 'device changed' callback 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 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 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 c51309ac72 Rework VU meter level processing to be closer to Vivox 2024-02-08 18:34:02 -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 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 a7b70788a8 quicker turnaround on re-establishing voice when server goes down. 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 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 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 78228d4dc4 Smooth voice power level reporting. 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 0afb330cf1 Remove bad session from janus when negotation fails and is retried. 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
Roxie Linden e554bf0529 Fix connection failed logic to do a renegotiate.
Also, remove some dead code.
2024-02-08 18:34:01 -08:00
Roxie Linden a2435aa1d0 Hook up speaker volume. 2024-02-08 18:34:01 -08:00
Roxie Linden fa313bab63 do some thread safety to prevent webrtc threads from conflicting with viewer threads. 2024-02-08 18:34:01 -08:00
Roxie Linden 4451c3f420 coding policy fixes 2024-02-08 18:34:00 -08:00
Roxie Linden 0ae8bbaf5d Checkpoint WebRTC Voice 2024-02-08 18:34:00 -08:00