Skip to content

[WebRTC] Voice device does not switch until Speak is turned off. #4903

@Dan-Linden

Description

@Dan-Linden

Environment

Full Environment

Second Life Test 7.2.3.18810343522 (64bit)
Release Notes

You are at 222.1, 24.8, 26.7 in Bug Island located at simhost-0f340ca0324a590c7.agni
SLURL: http://maps.secondlife.com/secondlife/Bug%20Island/222/25/27
(global coordinates 260,318.0, 249,369.0, 26.7)
Second Life Preflight 2025-09-26.18046863877
Release Notes

CPU: Intel(R) Core(TM) i9-14900HX (2419.2 MHz)
Memory: 32472 MB
OS Version: Microsoft Windows 11 64-bit (Build 26200.6899)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce RTX 4080 Laptop GPU/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.8129
OpenGL Version: 4.6.0 NVIDIA 581.29

Window size: 2560x1369
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 10000kbit/s
LOD factor: 1.5
Render quality: 4
Texture memory: 12282MB
Disk cache: Max size 3494.4 MB (13.4% used)

J2C Decoder Version: KDU v8.4.1
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.24.2 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.24.0.202510081738
CEF: 139.0.40+g465474a+chromium-139.0.7258.139
Chromium: 139.0.7258.139
LibVLC Version: 3.0.21
Voice Server Version: Secondlife WebRTC Gateway

Packets Lost: 0/332 (0.0%)
October 27 2025 15:16:42

Description

[WebRTC] Voice device does not switch until Speak is turned off.

Reproduction steps

  1. On a Windows laptop that has integrated mic and speakers. (This may repro on other configurations)
  2. Unplug any headset.
  3. Log into a WebRTC region with the 7.2.3.18810343522 test viewer.
  4. Click the Speak button and verify with an observer that you are transmitting voice.
  5. Plug in a USB headset
  6. Tap the headset mic and verify that the tapping is heard.

Observed: The audio was still transmitted from the integrated mic.

Log file: device didn't switch when USB headset was plugged in SecondLife.log

Expected: The audio should switch when the USB headset is plugged in.

Workaround: Turn the Speak button off then on.


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4903 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @Dan-Linden (replace 20 with the amount, and @Dan-Linden with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageFlags issues that need to be triagedwebrtc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions