secondlife / secondlife/viewer

Closing the audio device picker right after plugging in headphones jams up voice for the session and freezes on log out.

Open
#4,901 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale webrtc
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Test 7.2.3.18810343522 (64bit)
CPU: Apple M1 (2400 MHz)
OS Version: macOS 26.0.1 Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:39 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8103 arm64

Full Environment

Second Life Test 7.2.3.18810343522 (64bit)
Release Notes

You are at 125.5, 80.1, 21.7 in By Design located at simhost-0498f68eca16e9bd7.agni
SLURL: http://maps.secondlife.com/secondlife/By%20Design/125/80/22
(global coordinates 261501.0, 246864.0, 21.7)
Second Life Preflight 2025-09-26.18046863877
Release Notes

CPU: Apple M1 (2400 MHz)
Memory: 8192 MB
OS Version: macOS 26.0.1 Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:39 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8103 arm64
Graphics Card Vendor: Apple
Graphics Card: Apple M1

OpenGL Version: 4.1 Metal - 90.5

Window size: 1440x751
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.5
Render quality: 4
Texture memory: 5461MB
Disk cache: Max size 2150.4 MB (5.1% used)
HiDPI display mode:

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.202510081737
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/6857 (0.0%)
October 27 2025 10:47:51

Description

Closing the audio device picker right after plugging in headphones jams up voice for the session and freezes on log out.

Reproduction steps
  1. Log into a WebRTC region with the 7.2.3.18810343522 test viewer.
  2. Press the Speak button.
  3. Open Preference > Sound & Media > "Voice Input/Output devices"
  4. Plug in headphones, then unplug them, then close "Voice Input/Output devices" a half-second later, while it's switching over.
    Observed: The voice dot over your head may appear to be transmitting continuously, but nobody else can hear you. If you reopen "Voice Input/Output devices", the drop down menus are grayed out. When you log out, the viewer will need to be force quit.

Log: voice jammed - then won't log out SecondLife.log

Video: https://github.com/user-attachments/assets/606daa62-5340-4168-bfc9-4260d104c50a

Note: This scenario is probably rare.


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 #4901 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the headphone plug/unplug sequence in the Sound & Media voice device picker and review the linked SecondLife.log while the device is switching. Trace the voice device transition and logout path; done means voice remains usable after closing the picker and logout completes without requiring a force quit.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.