streamwhatyouhear / swyh Goto Github PK
View Code? Open in Web Editor NEWStream the sound from your PC to an UPnP/DLNA device
Home Page: http://www.streamwhatyouhear.com/
License: GNU General Public License v2.0
Stream the sound from your PC to an UPnP/DLNA device
Home Page: http://www.streamwhatyouhear.com/
License: GNU General Public License v2.0
Although wav (pcm only up to 192kHz)
is listed in Yamaha:R-N602 supported dlna stream formats it says Unable to play
whey trying SWYH with PCM instead of MP3.
WAV streaming works find though on my linux box using pulseaudio-dlna
<btw. would be nice to add more stream formats like flac or alac>
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)
Hi their,
the program uses 100% cpu load and can be fixed easily.. but im not into C#.
Can someone have a look on this topic and include thos 4 lines of code?
http://www.streamwhatyouhear.com/forums/topic/fix-for-high-cpu-usage/
Thanks !!
I have multiple Ethernet interfaces. When I try to connect with a DLNA player, it uses the wrong IP address.
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)
Here are the solutions so far:
Loop an empty music file of any length on source computer.
:D
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!
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: FX452RTMGDRCodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
SWYH
Assembly Version: 1.4.0.0
Win32 Version: 1.4.16069.0CodeBase: file:///D:/Program%20Files/Stream%20What%20You%20Hear/SWYH.exe
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209CodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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.18019CodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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: FX452RTMGDRCodeBase: 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.18018CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPnP.DLL
UPNP_AV
Assembly Version: 1.0.5912.18019
Win32 Version: 1.0.5912.18019CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/UPNP_AV.DLL
NAudio
Assembly Version: 1.7.3.0
Win32 Version: 1.7.3.0CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.DLL
NAudio.Lame
Assembly Version: 1.0.2.33669
Win32 Version: 1.0.2.33669CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.Lame.DLL
LameDLLWrap
Assembly Version: 1.0.5071.33669
Win32 Version: 1.0.2.33669CodeBase: file:///d:/Program%20Files/Stream%20What%20You%20Hear/NAudio.Lame.dll
UPNPAVCDSML
Assembly Version: 1.0.5912.18019
Win32 Version: 1.0.5912.18019CodeBase: 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: FX452RTMGDRCodeBase: 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.
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
Please,
Can you add Chromecast Audio support?
Other open project, from the Linux land, has support for it. Check Pulseaudio:
http://github.com/masmu/pulseaudio-dlna
Thank you!
Hi,
You should make this on Android / iOS as well, so that we can listen to the same music between friends, couldn't you?
Good work, CU
MHC
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
That leaves multiples devices showing, I don't know how a device is detected (mac, uuid, network, etc.) that technical detail is beyond my knowledge.
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.
How to capture a Voip call like skype? Without need to go to the "listen to device" option in sound config.
Same issue as the guy below, i tried to post in the forum but i dont get activation mail to @gmx.de.
https://forum.streamwhatyouhear.com/t/audiocast-devices-not-discovered/2350
swyh-rs manages to find the devive, but is unable to play to it: dheijl/swyh-rs#24
If you have any tips let me know, and i can help debugging probably (im not a not C# expert though).
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?
Using swyh.wav that the file is damaged.Using swyh.mp3 that no problem,the .mp3 also has sound when Streamed
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
I realise that this takes a huge amount of work but thought I would put it out there.
The product: http://www.gizsmart.com/o2-cloud-smart-speaker-voice-control-connect-with-wifi/
The device is listed as available, but when I select it nothing happens. I can push to Foobar just fine. On the other hand, Foobar can push metadata to the device, but not audio. Some other proprietary DLNA implementations are capable of pushing to it.
I wonder how I can further debug this?
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.
Here's a sample Wireshark capture of the actions sent by SWYH.
I cannot get SWYH to detect my Dayton Audio WFA02 Multi-Room Wi-Fi Audio Adapter. It supports DLNA (and AirPlay), it just never shows up in the Stream to menu. FAQ doesn't help here.
Maybe introduce functionality to force detection of stubborn devices?
Scanning the install file on https://www.virustotal.com gives 2 "malicious file" hits.
hi,
can you please add the ability so swyh to remain active, when music from the other end stops ? so not to lose the connectivity....
(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
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 ..
Is there any way to achieve the following:
That way, I could use SWYH as a highest quality „bridge“ to stream my analog signals into my LAN.
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
Occasionally I can get audio stuttering when the CPU is busy.
I created a pull request 0b581eb with a patch that fixes it (for me).
Thanks for a fine job!
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?
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?
It would be an awesome addition if http streaming could be automatically enabled on startup.
thanks!
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..
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
)
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!
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.
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.
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?
It would be nice to have a volume control for the DLNA renderer and a way to disable SWYH, without quitting it.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.