p-rivero / DiscordAudioStream

Windows utility for streaming (with audio!) in Discord. Easily share the the audio of entire screen, or even use OBS for streaming!
GNU General Public License v3.0
187 stars 7 forks source link

error message #11

Closed ElectricXragon95 closed 1 year ago

ElectricXragon95 commented 1 year ago

when i attempt to run the application, i get an error message. this is what's in the notepad when i click ok on the error:

System.Runtime.InteropServices.COMException (0xE000020B): Exception from HRESULT: 0xE000020B at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetValue(PropertyKey& key, PropVariant& value) at NAudio.CoreAudioApi.PropertyStore.get_Item(PropertyKey key) at NAudio.CoreAudioApi.MMDevice.get_DeviceFriendlyName() at DiscordAudioStream.AudioCapture.AudioPlayback.RefreshDevices() at DiscordAudioStream.MainController.RefreshAudioDevices() at DiscordAudioStream.MainForm..ctor(Boolean darkMode) at DiscordAudioStream.Program.Main(String[] args)

p-rivero commented 1 year ago

It seems like there's an issue with the audio library, or there's a faulty audio device connected to the computer.

I found this post of someone who had the same issue as you. The solution was to install Windows Foundation Media API: https://support.microsoft.com/en-us/topic/media-feature-pack-list-for-windows-n-editions-c1c6fffa-d052-8338-7a79-a4bb980a700a

After installing, restart the computer and try again. Let me know if this solves the issue or if we need to keep searching.

p-rivero commented 1 year ago

Closing this as stale, feel free to reopen if you still have this issue.