obsproject / obsproject/obs-studio

Audio Source's monitor stays active when source visibility is off and source has show/hide transitions

Open
#6,435 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

issue/confirmed
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/8bhcb-eWuvrU-AML

OBS Studio Crash Log URL

No response

Expected Behavior

When changing a scene, the source transition should be completed no matter if the new scene contains the source or not.

Current Behavior

When triggering a Source's visibility transition by toggling the source's visibility and switching to a scene where the source doesn't exist, the transition fails to completely turn off the source. The output of it will be turned off, but monitoring capabilities of the audio source aren't will prevail with the status before toggling the source visibility

Please find a video explanation attached;

https://user-images.githubusercontent.com/53283603/167283299-6174f83d-a9a9-442e-ae2e-b81628394491.mp4

.

Steps to Reproduce
  1. Add an audio source.
  2. Give the audio source a show/hide transition, in this case Fade in 2000ms and Fade out 3000ms.
  3. Hide the source and immediately show it.
  4. Switch to a scene missing the audio source right after toggling visibility ON.
  5. Hear the monitoring of the source while the output can't.
Anything else we should know?

User that brought this to my attention is IonicEcko#0001 (113247697296736256) on Discord. Message . Their Log

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 issue in OBS Studio 27.2.4 on Windows using the listed audio-source visibility and scene-switching steps, then trace the source transition and audio monitoring behavior. Done means switching to a scene without the source fully stops both its output and monitoring, including during show/hide transitions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.