Git Product home page Git Product logo

swyh's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swyh's Issues

Muting source computer also mutes the stream

(Windows 8.1 64bit with (onboard?) "Realtek High Definition Audio")

When I stream I hear both systems (local + stream with a delay) which is annoying. Muting the sound on the source computer (as suggested by FAQ) also mutes the stream.

I'd really appreciate a fix for this, thanks.
PS: plugging headphone jack in source computer is my current workaround

HTTP Live Streaming - Incorrect network selected

I just downloaded this and managed to get it working (and that is awesome) however when first starting the HTTP Live Streaming it seemed to bind to a single IP and port (not the one actually used in my house) in fact it was a Docker network.

It would be great to either:
1 - Have some sort of prioritization, ie, LAN first then WLAN and then other networks
2 - Allow selection of IP or network device to listen on
3 - Listen on all networks?

Add a virtual speaker for streams

I don't know if this is possible on Windows, but it would be great if you could add a virtual speaker for every upnp device you found, so that we can simply select the device from the speaker icon. That way there is no way the sound is played on connected speakers and the upnp device.

16 bit 48khz limitation

Is there any reason for the 16 bit 48 khz upper limit?
Adding higher sample rates seems easy enough, but adding 24 bit support is not, am I right?

SWYH USER/FAN WITH A 1.5 QUESTION

So I have SWYH 1.5 on my windows 10 64, updated to Current.
So what I decided to try was to use port forwarding to stream directly to my website, to a live player.
So I did so, and here is what is happening.
If I type in my external IP and everything on my android cell phone browser, not on my home network. This is my situation.
Example
HTTP://1.1.1.1:5555/stream/swyh.mp3
it works perfectly a little player pops up and plays it just fine, with about a 7 second delay. Fantastic
However, if I type that same thing into chrome on a computer it says that its blocked, thing is, I have all the ports opened required, and tested them all.
So, I took he external IP with my swyh going and put it in a player on my website that plays mp3 files, and if I was using shoutcast or whatever with a .mp3 being updated it would work, but it doesn't here not on mobile or PC.
so it will work if I just type in the external and etc to the playing swyh on my system off my network, fine, I played it to my wife in the store from home.
However, it will not work if you type it the same way in chrome, and, if you try to play it with my site, on the player, it doesn't work on cellphone or PC.
So, I'm totally confused.
and they player is a simple html5 type player...
I would appreciate any help.
MY GOAL IS TO BE ABLE TO STREAM FROM MY HOME PC TO MY WEBSITES PLAYER< WHEN I AM LIVE, AND THEN ONCE I AM DONE WITH LIVES UPLOAD EPISODES FOR MY NEW PODCAST SITE. BUT I am trying to do it, without the use of a service provider like shoutcast...
So when I thought about swyh which I hadn't thought of in couple years I thought that should work, with port forwarding and my site player...
If it matter I have all the mp3 encoders and etc installed on windows as well the latest lame etc...
I would appreciate any help from anyone on this issue.
I have a gig service at home, under limited no cap, so why pay for a service when you have a cool app like swyh and etc. I am highly confused, I have heard several things like it works on the cellphone because google is handling it when you just key in the IP where swyh playing, and it gives you the blank screen with a player, and your able to stream even outside your network to a cell for that reason, it doesn't work in your player because you arent handling it right, and it doesn't work on a computer browser for the same reasons.
I hope this all makes since, regardless, I put my goal here and I was hoping for some help.
Thanks in advance to anyone who can help me out.
-Big Ledge

DLNA uses wrong IP address

I have multiple Ethernet interfaces. When I try to connect with a DLNA player, it uses the wrong IP address.

SWYH crash when startup, if virtual mixer Voicemeeter is running

Date: 04/12/2020 20.55.19
Message: Exception from HRESULT: 0x8889000A
Detail: System.Runtime.InteropServices.COMException (0x8889000A): Exception from HRESULT: 0x8889000A
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at NAudio.CoreAudioApi.WasapiCapture.InitializeCaptureDevice()
at NAudio.CoreAudioApi.WasapiCapture.StartRecording()
at SWYH.Audio.WasapiProvider..ctor()
at SWYH.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at SWYH.App.Main()

Out of memory error on Windows 10, memory leak?

Detail: System.OutOfMemoryException

NAudio.MediaFoundation.MediaFoundationInterop.MFCreateMemoryBuffer(Int32 cbMaxLength, IMFMediaBuffer& ppBuffer)
vid NAudio.MediaFoundation.MediaFoundationTransform.ReadFromSource()
vid NAudio.MediaFoundation.MediaFoundationTransform.Read(Byte[] buffer, Int32 offset, Int32 count)
vid SWYH.Audio.WaveProviderToWaveStream.Read(Byte[] buffer, Int32 offset, Int32 count)
vid SWYH.Audio.WasapiProvider.waveProcessor()
vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
vid System.Threading.ThreadHelper.ThreadStart()

I have 16GB, I am not out of memory. Possible leak?

Streaming in high resolution?

Is there any way to achieve the following:

  • recognize an ASIO soundcard to get around Windows‘ internal processing of the signal internally (resampling etc.)
  • stream in HiRes (soundcard provides 192kHz/24bit)

That way, I could use SWYH as a highest quality „bridge“ to stream my analog signals into my LAN.

Crash when switching to PCM.

SWYH works find for me when using MP3 stream, but when trying to switch to PCM it cashes.
source={thinkpad:w530,SWYH:1.5.0+27e8167,windows_10:v2004};sink={yamaha:R-N602}
crash.log

Date: 08.11.2020 20:05:49
Message: Object reference not set to an instance of an object.
Detail: System.NullReferenceException: Object reference not set to an instance of an object.
   w SWYH.SettingsWindow.btValid_Click(Object sender, RoutedEventArgs e)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.Controls.Primitives.ButtonBase.OnClick()
   w System.Windows.Controls.Button.OnClick()
   w System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   w System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   w System.Windows.Input.InputManager.ProcessStagingArea()
   w System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   w System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   w System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   w System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   w System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   w MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   w MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   w System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   w System.Windows.Application.RunDispatcher(Object ignore)
   w System.Windows.Application.RunInternal(Window window)
   w SWYH.App.Main()
------------------------------

On my Linux box PCM streaming to Yamaha amp works fine (with pulseaudio-dlna)

Add ability to select audio source

Please add a feature where the user can select the applications to stream the sound of.
For example when I have skype and a game open i might want to stream skype to my device while ignoring all other applicstions including the game which also produces sound

I talked to some friends of mine and they recommended SWYH to me, they said that this would be a feature that similar (non-free) software would have but sadly this doenst

I hope you like this feature request. Stay awesome!

SWYH providing DLNA renderer with wrong stream URL

Potential bug - when I select a renderer (tested with UPMPDCLI on Raspi 3 - works with other streams), SWYH gives it the wrong stream URL.

Renderer shows it is trying to stream from http://[MY-IP]:50782/stream/swyh.mp3 , when infact the stream is running on another port (eg 52289). Bug is consistent, port 50782 is given consistently.

Temporary workaround - set specific HTTP port in SWYH to 50782 .

Hope this info is useful.

App crashes on launch Win 10

Date: 2020-04-24 2:41:38 PM
Message: Exception from HRESULT: 0x88890008
Detail: System.Runtime.InteropServices.COMException (0x88890008): Exception from HRESULT: 0x88890008
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at NAudio.CoreAudioApi.WasapiCapture.InitializeCaptureDevice()
at NAudio.CoreAudioApi.WasapiCapture.StartRecording()
at SWYH.Audio.WasapiProvider..ctor()
at SWYH.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at SWYH.App.Main()

20 seconds latency

Hello, swyh is so great, but i wanna use it for a live jamming in my homenetwork with my friends. the 20 seconds delay makes me crazy^^Is there a way to make 0sec latency. or do you have an alternative software for me, that is as easy as swyh. thanks the help and greetings from austria christian

Volumio can see SWYH but says "Error: No Result"

In SWYH I can select to stream to Volumio, and Volumio can see SWYH but when I try to connect to SWYH in Volumio, Volumio is unable to connect, reporting "Error: No Result".

I have no problem using Volumio to stream from other devices, including files from this computer.

I am playing audio using youtube, to my default system audio device.

I am using Windows 10.
SWYH v1.5

Config settings:
image

Crash on startup

Windows 10 - tried both built and downloaded versions:
Message: Element not found. (Exception from HRESULT: 0x80070490)
Detail: System.Runtime.InteropServices.COMException (0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at NAudio.CoreAudioApi.MMDeviceEnumerator.GetDefaultAudioEndpoint(DataFlow dataFlow, Role role)
at SWYH.Audio.WasapiProvider..ctor() in c:\Users\Val\SWYH\SWYH\Audio\WasapiProvider.cs:line 59
at SWYH.App.Application_Startup(Object sender, StartupEventArgs e) in c:\Users\Val\SWYH\SWYH\App.xaml.cs:line 98
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at SWYH.App.Main() in d:\SWYH\SWYH\obj\x86\Release\App.g.cs:line 0

Adding play to chromecast

Feature requeat:

Adding a function like pychromecast to Discover and play the http stream to a chromecast device

Currently i am using a Python program thats starts after swyh to play to chronecast. I think an Integration would be perfect.

Thanks

Crashes when DLNA player is selected

Video: https://drive.google.com/file/d/0B1PNkS9SaGXtcFJNMHdYRW9wcFU/view?usp=drivesdk
OS: Windows 7 64bit

Stacktrace:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
OpenSource.UPnP.AV.CdsMetadata.Error_BadMetadata: Bad metadata. Expecting item or container element in MediaObject constructor.
at OpenSource.UPnP.AV.CdsMetadata.MediaObject.UpdateEverything_CheckElementName(XmlElement xmlElement, Boolean& isItem, Boolean& isContainer)
at OpenSource.UPnP.AV.CdsMetadata.MediaObject.UpdateEverything(Boolean updateResources, Boolean updateChildren, Type instantiateTheseForResources, Type instantiateTheseForChildItems, Type instantiateTheseForChildContainers, XmlElement xmlElement, ArrayList& proposedChildren)
at OpenSource.UPnP.AV.CdsMetadata.MediaItem.FinishInitFromXml(XmlElement xmlElement)
at OpenSource.UPnP.AV.CdsMetadata.MediaObject..ctor(XmlElement xmlElement)
at OpenSource.UPnP.AV.CdsMetadata.MediaItem..ctor(XmlElement xmlElement)
at SWYH.UPnP.DvContentDirectory.GetWasapiMediaItem()
at SWYH.App.streamMenu_RendererSelected(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

SWYH
Assembly Version: 1.4.0.0
Win32 Version: 1.4.16069.0

CodeBase: file:///D:/Program%20Files/Stream%20What%20You%20Hear/SWYH.exe

PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

UPNPAV_RendererStack
Assembly Version: 1.0.5912.18019
Win32 Version: 1.0.5912.18019

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPNPAV_RendererStack.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

PresentationFramework.Classic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.classic/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.classic.dll

UPnP
Assembly Version: 1.0.5912.18018
Win32 Version: 1.0.5912.18018

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPnP.DLL

UPNP_AV
Assembly Version: 1.0.5912.18019
Win32 Version: 1.0.5912.18019

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPNP_AV.DLL

NAudio
Assembly Version: 1.7.3.0
Win32 Version: 1.7.3.0

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.DLL

NAudio.Lame
Assembly Version: 1.0.2.33669
Win32 Version: 1.0.2.33669

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.Lame.DLL

LameDLLWrap
Assembly Version: 1.0.5071.33669
Win32 Version: 1.0.2.33669

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.Lame.dll

UPNPAVCDSML
Assembly Version: 1.0.5912.18019
Win32 Version: 1.0.5912.18019

CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPNPAVCDSML.DLL

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Problem with deezer

Hello everyone,
I have problems with Deezer, let me explain I am using SWYH to send the sound from my computer to my Harmann Kardon AVR265 audio / video amplifier, I can send the sound directly to my amp but only using PCM/L16, with the MP3 format I have the sound but only 1 to 2 seconds..
So I use in PCM / L16 and it works well but after a good while I have reading on Deezer which crashes and SWYH which disconnects from my amp and from there starts the galley, Deezer does not want to read music anymore And SWYH no longer sends anything to my amp .. I restart the two applications and still cannot stream in my amp .. The only solution currently is to restart my computer and my amp .. It's quite strange and above all very boring, SWYH is really what I'm looking for, being able to send the sound of what I'm doing on my computer directly to my audio amplifier via my local network and I don't know any other solution to do that than SWYH, I hope that the development Of this great tool will continue in order to optimize the quality and compatibility .. Long live SWYH .. And thank you all ..

SWYH sends Play action before sending SetAVTransportURI

We've had a handful of issue reports involving hzeller/gmrender-resurrect and SWYH. I think the most annoying by far is that the stream does not start when gmrender-resurrect is selected in the Stream to menu. The current workaround is to deselect and re-select the renderer and playback usually begins.

The cause of this problem from gmrender-resurrect perspective is that SWYH sends the Play action, and then sends SetAVTransportURI. Without a valid URI gmrender-resurrect can't start playback.

According to the spec, the behavior is device dependent. AKA it's undefined behavior, and should be avoided.
image

Here's a sample Wireshark capture of the actions sent by SWYH.
image

Streaming to Sonos PLAY:1 Media Renderer does not work

When streaming to my single PLAY:1 "UPnP/DLNA Media Renderer" as described I get the error

Unable to play 'swyh.mp3' - the song is not encoded correctly.

Also see this post and others from the forum.

Interestingly, it works via "HTTP Live Streaming" when adding SWYH as a radio station to Sonos as described here. However, as that requires slightly more work, streaming via DLNA would be more convenient.

So I guess the question boils down to: What is differnet between the MP3 encodings used via DLNA vs HTTP streaming?

How to get input audio too?

How to capture a Voip call like skype? Without need to go to the "listen to device" option in sound config.

Random lag in new version

Hi

After I updated the app, it started lagging after about 3-4 minutes - even if i have sat the app to high in priorty..

Xbox 360 cannot access stream via Media Player mode

Works as expected with Stream To/Renderer mode, but this has the behavior of kicking you out of games/apps as it cannot multitask. I want to use this to stream system audio to the Xbox 360 while playing games, and SWYH is the only solution I can find that supports a Media Player mode. If I choose Songs -> Stream What You Hear (PCM/L16 OR MP3) it will fail with a 04-800705b4 while trying to play in game via the Guide. Using the System Music Player, it gives more specific errors like 19-04-80070032, which seems to imply the system things it's an incompatible stream/codec. I tried messing with various settings like sample rate but nothing will make it function.

https://forum.streamwhatyouhear.com/t/errors-playing-on-xbox/718 the problem is as described here, almost a third of my lifetime ago. If this is user error or a potential misconfiguration, I apologize. If this is a bug, it might be worth fixing, as PlayTo on an Xbox 360 is needlessly restricted.

SWYH makes my router crash

Having the honor of submitting the first issue, I tak the oportunity to congratulate Sebastien on this software and the decision to open-source it!

As the title says, every time I start SWYH, my router crashes every time in about a minute. I will try to check the logs from the router, and will update this with more details, but in the meanwhile I wonder if someone else has had this behaviour?

Happy contributing, everybody!

foo2000 prompts playback error when using PCM/L16 streaming silent transmission

Source computer: Windows11 ,SWYH 1.5.0 (PCM/L16)
Renderer computer: Windows11 ,foo2000 2.0[x86](UPnP/DLNARenderer,Server,Control Point 0.99.49 foo_upnp)

  1. Keep source computer silent.
  2. Stream to another computer.
  3. An error message appears after 15 seconds.
    Untitled
  4. swyh automatically stops streaming.

Here are the solutions so far:
Loop an empty music file of any length on source computer.

:D

Streaming to upmpdcli not working

Probably related to #16 SWYH cannot stream to upmpdcli (at least on a raspberry pi 3).

The error seems to come from libupnpp:
upmpdcli[299]: :2:src/avtransport.cxx:393::set(Next)AVTransportURI: unsupported format: uri http://192.168.12.148:62345/stream/swyh.mp3 metadata :2:libupnpp/device/device.cxx:354::UpnpDevice: Action failed: SetAVTransportURI code -101

upmpdcli should only route the url to mpd and, as far as I can see, mpd is able to decode the received stream from that port (tested with mpc add http://192.168.12.148:62345/stream/swyh.mp3; mpc play)

Build 15278 and Windows 10

First of all, thank you all for contributing to such a great project. Build 15278 crashes on Windows 10 with several references to .Net 4.0.0.0 libraries against the newer 4.6.x.x ones on the OS.

Build 15154 installs and works well with no issues.

The issue only occurs when selecting the "Stream To" device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.