You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fails to reestablish audio after losing & regaining sound device permission (linux) #10072
When using Control+Alt+F3 to to switch to another virtual console, OBS temporarily loses permission to the audio device from which it was recording. When returning to the desktop virtual console and given permission to the device again, OBS Studio should resume collecting audio from the device.
Current Behavior
OBS Studio fails to resume ingesting from the audio source.
Steps to Reproduce
Install a reasonably recent version of PipeWire and PipeWire-Pulse.
Remove all users from the "audio" group. (To make sure access control works correctly when switching virtual consoles in this test.)
Start a program that produces audio through PipeWire.
Select that audio source in OBS Studio.
Note that OBS is receiving audio.
Switch to a different virtual console using Control+Alt+F3 or similar.
Wait a couple seconds.
Switch back to the original virtual console.
Note that OBS is no longer receiving audio.
Anything else we should know?
I don't know whether OBS Studio loses the audio stream directly in reaction to the device permission change, or in reaction to an audio source state change when PipeWire reacts to the permission change. (I suspect the latter.)
Audio ingestion can be restored by selecting a different source in OBS and then selecting the original source again, or by restarting OBS. Of course, these workarounds are less than ideal.
Activity