obsproject / obsproject/obs-studio

Application Audio Capture: Window Match Priority having no effect

Open
#8,776 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Operating System Info

Windows 10 Pro 22H2 (OS Build 19045.2846)

OBS Studio Version

29.0.2

OBS Studio Log URL

https://obsproject.com/logs/AgcjBFFzupiqIzx8

Expected Behavior

The source Application Audio Capture (BETA), when Window Match Priority has been set to "Match title, otherwise find window of same type" or "Match title, otherwise find window of same executable", then the source should automatically recognize the captured program if restarted with a new title.

Current Behavior

Sometimes the audio from the source mentioned above is not getting though to a live stream, but still looks active on the Audio Mixer in OBS. It is thus necessary to change the captured Window manually each time a captured program has been restarted to ensure the audio works on live stream again.

Steps to Reproduce
  1. Create a new Application Audio Capture (BETA) source and set Window as VLC (playing some audio), then set Window Match Priority to either "Match title, otherwise find window of same type" or "Match title, otherwise find window of same executable"
  2. Exit VLC
  3. Start VLC by playing another audio track, thus changing the title
  4. Now the Audio Mixer looks active for VLC, but if the source is opened, the Window label is red color and the new VLC instance is not selected
Anything else we should know?

Here is an image that shows the Audio Mixer and source.

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 with the Application Audio Capture (BETA) source and reproduce the VLC restart sequence described in the issue, using the linked OBS log for context. Check how the source handles the configured Window Match Priority after VLC exits and restarts with a changed title. Done means the new VLC instance is selected automatically and its audio reaches the live stream.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.