obsproject / obsproject/obs-studio
2 devices audio issue
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
Other OS
No response
OBS Studio Version
29.1.3
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/K4BJzTPVk5tkBfig
OBS Studio Crash Log URL
No response
Expected Behavior
Work well for choose the certain audio channel if have multiple capture devices
Current Behavior
Here is the issue (actually I also put this on the obs Forum, link: https://obsproject.com/forum/threads/2-devices-audio-issue.167587/):
If I have two capture device: device CH1, and device CH2.
Everything ok at OBS version older than 29.0.
But since 29.0 at later can not get both two channel’s audio, only can get one of them.
Even I checked “Use Custom Audio ” then choose the certain audio channel I want, e.g. CH2, but still only CH1’s audio was played.
Then I found it is caused by the setting of Sound Setting of Windows:
As the picture, if I choose CamLink CH1, then only CH1’s audio can be played by OBS. Even I
Add manually two video device with two deferent audio device (ch1 and ch2), still only CH1’s audio was played , or if I just
Add one video device with manually choose audio device to CH2, still only can get CH1’ audio.
But if I choose CamLink CH2 at windows Audio setting as default, things are changed reverse----Only CH2’s audio can be played.
Here is the log I just uploaded for above actions:
https://obsproject.com/logs/K4BJzTPVk5tkBfig
Again: OBS version older than 29.0 no this issue
Is there any chance can fix this?
Steps to Reproduce
- Connect two video capture devices(they have same VID/PID and serial numbers)
- Use OBS 29.0 or later, normal setting to get video and audio
- then you will find you only can get only one channel's audio whatever the channel you choose
...
Anything else we should know?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the supplied OBS log and reproducing the steps on Windows 10 with two capture devices sharing VID/PID and serial numbers. Compare OBS versions before and after 29.0, including custom audio selection and the Windows default audio device. Done means both capture devices can provide their selected audio channels independently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100