Ninja Docs
Ask or search…
K

How to capture an application's audio

Screen sharing in browsers only allows for tab-audio or desktop-audio capture; not window.
This page contains the standard guide for capturing application-specific audio in Windows. Less complex methods are being developed, with some current alternative options listed here.

Guide: Routing Windows application’s audio to VDO.Ninja

(For MacOS users, you can use Loopback by Roguemedia instead, or check out this list of free options: https://docs.vdo.ninja/platform-specific-issues/macos#capturing-audio)
Tip: If you want to configure the VB Audio driver with custom settings, the recommended sample rate is 48000-hz, as that is the sample used by VDO.Ninja.
  • 2) Load up Window Mixer by typing in Mixer to the windows search bar:
  • 3) For the application you want, select the Output dropdown and select CABLE Input.
  • 4) We can now head over to https://vdo.ninja, but we will want to add the advanced URL parameter &proaudio to the web URL, which disables echo cancellation and other digital effects. It will make the audio sound better and echo cancellation is likely not needed if capturing from a Game or Application window. For example, https://vdo.ninja/?push=myStreamID&proaudio You can also add this to the view link, which increases the audio quality even more. For example, https://vdo.ninja/?view=myStreamID&proaudio
  • 5) In VDO.Ninja, select the Cable Output device. Tip: If you hold down CTRL (Command) while selecting inputs, you can select more than one at a time.
  • 6) A simple way to hear the audio as an output is to just unmute the video. Right-click and show the controls, if not visible, then unmute.
  • 7) Alternatively, you can also use the Sound properties for the VB cable to “listen to this device” in Windows, so you can hear the audio even if not in VDO.Ninja. This method might have lower latency than the method in step 6.

Other options

Using OBS to capture audio

While this option still requires a virtual audio cable, as seen above, you can use OBS to capture the application's audio and output the audio from OBS to the virtual cable via the Monitor output in OBS.
Another way of selecting application audio for the Virtual Audio Cable

Publishing directly from OBS to VDO.Ninja

An alternative to using a virtual audio cable is to use OBS to capture the audio, and then publish the audio to VDO.Ninja directly using the WHIP-publishing mode.
WHIP is an experimental feature currently in OBS and may require a special version of OBS at the moment to access, but it might be included in OBS by default with the release of OBS v30 or v31.
Check out a demo YouTube video of how to accomplish this: Publishing from OBS directly to VDO.Ninja More details will be provided as the feature develops.
Using WHIP to publish to VDO.Ninja directly from OBS