OBS not capturing Brave browser audio

kenji_hayakawa

New Member
The issue is this: when I add macOS Screen Capture > Window Capture and select the Brave browser, the visuals are captured but the audio is not captured by OBS.

The audio from the Brave browser is captured when I add macOS Screen Capture > Display Capture. It is only after selecting either Application Capture or Window Capture that OBS stops capturing the Brave browser audio. When I add macOS Screen Capture > Window Capture and select a different browser source (e.g. Firefox), the audio is captured normally. Therefore, this is an issue specific to Brave.

Why is this happening and what can I do to fix it? Logs attached.
 

Attachments

Brave's audio sandboxing doesn't play nice with macOS SCKit, which is what OBS uses under the hood for Window/App capture. Display Capture works because it grabs audio at a lower system level.

What fixed it for me was adding a separate "Application Audio Capture (beta)" source and picking Brave from the dropdown, then using Window Capture just for the video. kinda hacky but it works reliably.
 
Brave's audio sandboxing doesn't play nice with macOS SCKit, which is what OBS uses under the hood for Window/App capture. Display Capture works because it grabs audio at a lower system level.

What fixed it for me was adding a separate "Application Audio Capture (beta)" source and picking Brave from the dropdown, then using Window Capture just for the video. kinda hacky but it works reliably.
Thanks for your reply and for the suggestion!

I tried adding "macOS Audio Capture > Application Audio Capture > Brave Browser" but unfortunately it did not work. Is there another source called "Application Audio Capture (beta)" that I'm missing, or was this the solution that worked for you?
 
Update: after running a few more tests, it seems that OBS on macOS Sonoma is failing to capture audio from other Chromium-based browsers too. This suggests that the issue is specific to an interaction between OBS, macOS Sonoma and Chromium.

I have virtually no understanding of how OBS for Mac captures audio from browser sources, so any insight/explanation of how this is done and what might be causing this issue is greatly appreciated!
 
Update 2: Just for further context, I tried capturing the audio of Ecosia and DuckDuckGo too. Audio was not captured by OBS in the case of Ecosia, but it was captured properly in the case of DuckDuckGo. Both of these as well as Brave are all Chromium-based browsers. I'm a bit confused now as to why this failure is replicated across some but not all Chromium-based browsers.
 
DuckDuckGo on Mac is WebKit-based, not Chromium -- that's why it works fine. The issue is specifically Chromium's audio process sandboxing. If Application Audio Capture isn't catching Brave, the most reliable fix I've seen is routing through BlackHole (free virtual audio driver) -- set Brave's audio output to BlackHole in macOS Sound settings, then add BlackHole as an audio capture source in OBS.
 
DuckDuckGo on Mac is WebKit-based, not Chromium -- that's why it works fine. The issue is specifically Chromium's audio process sandboxing. If Application Audio Capture isn't catching Brave, the most reliable fix I've seen is routing through BlackHole (free virtual audio driver) -- set Brave's audio output to BlackHole in macOS Sound settings, then add BlackHole as an audio capture sourceWill
Will try, thanks!
 
@turingsroot I'm very confused about the solution you kindly suggested... I've created a multiouput device combining Blackhole and my headphones and selected this multiple output device as my Output from macOS's Settings > Sound, but this didn't solve the issue. Could you elaborate more on what you meant by "set Brave's audio output to BlackHole in macOS Sound settings"?
 
The multi-output device approach is right but you need one more step in OBS -- add an "Audio Input Capture" source and select "BlackHole 2ch" from the dropdown. OBS reads BlackHole as an input, not through Application Audio Capture. Also make sure Brave is restarted after switching the system output to the multi-output device, otherwise it keeps using the old audio session.
 
The multi-output device approach is right but you need one more step in OBS -- add an "Audio Input Capture" source and select "BlackHole 2ch" from the dropdown. OBS reads BlackHole as an input, not through Application Audio Capture. Also make sure Brave is restarted after switching the system output to the multi-output device, otherwise it keeps using the old audio session.
This is helpful, thanks for the clarification! I've tried this approach but couldn't figure out how to make the Audio Input Capture source capture Brave only. I'm looking for a way to add an audio source to OBS that specifically captures Brave's audio (ideally a specific window of Brave) instead of a system-wide audio capture (which seems to be what BlackHole 2ch is doing for my computer at the moment). Sorry about the convoluted question, but is there a way to capture Brave's audio only using BlackHole 2ch?
 
Back
Top