secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
212 stars 53 forks source link

Spatial audio volume of people within 10m is lower on WebRTC than on Vivox #2752

Open Dan-Linden opened 1 month ago

Dan-Linden commented 1 month ago

Environment

Second Life Release 7.1.10.10800445603 (64bit) Release Notes

You are at 119.6, 88.5, 21.8 in By Design located at simhost-01d3500f306966b31.agni SLURL: http://maps.secondlife.com/secondlife/By%20Design/120/89/22 (global coordinates 261,496.0, 246,873.0, 21.8) Second Life Preflight 2024-09-23.10999422747 Release Notes

CPU: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz (3491.92 MHz) Memory: 32610 MB OS Version: Microsoft Windows 10 64-bit (Build 19045.4894) Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce GTX 1080/PCIe/SSE2

Windows Graphics Driver Version: 31.0.15.3623 OpenGL Version: 4.6.0 NVIDIA 536.23

Window size: 1556x1196 Font Size Adjustment: 96pt UI Scaling: 1 Draw distance: 128m Bandwidth: 3000kbit/s LOD factor: 1.375 Render quality: 3 Texture memory: 8192MB Disk cache: Max size 1638.4 MB (21.9% used)

J2C Decoder Version: KDU v7.10.4 Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.23.1 / OpenAL Community / OpenAL Soft: OpenAL Soft Dullahan: 1.14.0.202408091639 CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54 Chromium: 118.0.5993.54 LibVLC Version: 3.0.21 Voice Server Version: Secondlife WebRTC Gateway

Packets Lost: 0/7,881 (0.0%) October 01 2024 06:47:00

Description

Spatial audio volume of people within 10m is lower on WebRTC than on Vivox.

Reproduction steps

Repro:

  1. Log in 2 users about 10m from each other on a vivox region and converse in spatial chat. Note the volume
  2. Repeat on a WebRTC region and note the volume.

Observed: The other user sounds quieter on the WebRTC region.

Expected: Voice volumes for WebRTC should be close to that of Vivox so people do not need to adjust their volume levels.

Video of Vivox: https://github.com/user-attachments/assets/2fb2a547-cebb-48c5-b9c6-97747131e206 Video of WebRTC: https://github.com/user-attachments/assets/e860dc34-89fc-4ddc-a65b-19ff2f5c7369

Dan-Linden commented 1 month ago

Similar or same as https://github.com/secondlife/server/issues/1167

Dan-Linden commented 1 month ago

Is this an issue in the viewer's mic volume or the server's mixing volume or the viewer's receiving volume?