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
180 stars 7 forks source link

Error when starting stream #41

Closed BroDrax closed 8 months ago

BroDrax commented 8 months ago

Hello,

I get the below error when I try to start the stream:

System.ArgumentException: Parameter is not valid. at System.Drawing.Image.get_Width() at System.Drawing.Image.get_Size() at DiscordAudioStream.MainController.RefreshPreviewSize() in D:\a\DiscordAudioStream\DiscordAudioStream\DiscordAudioStream\MainController.cs:line 117 at DiscordAudioStream.MainController.StartStream(Boolean skipAudioWarning) in D:\a\DiscordAudioStream\DiscordAudioStream\DiscordAudioStream\MainController.cs:line 163 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

p-rivero commented 8 months ago

Please see if the latest pre-release fixes the problem

BroDrax commented 8 months ago

Oops forgot to specify, that is what I had downloaded that gave the error

p-rivero commented 8 months ago

That's strange. If you were using the latest version, the stack trace would contain more information to help me find the source of the crash. Please make sure to re-download the pre-release and send me the entire contents of the error.

p-rivero commented 8 months ago

I'm quite sure this bug has been fixed in v1.4.1, feel free to reopen if that's not the case.