-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are there any low-latency alternative software options for Mac OS? #104
Comments
I'm sorry but I don't have a Mac so I can't adapt it myself, and I know nothing about Mac software... |
Thank you for your response. I sought help in the Sonos subreddit but found that the latency is too significant to ignore. I believe I'll use Windows to watch movies. |
Hi there - I appreciate that @dheijl doesn't have a mac, but I managed to successfully build swyh-rs on mac, but I keep receiving this error and no upnp devices are found. Do you have any idea on how I could possibly remedy this?
|
Apparently the MAC returns a non-standard error code for EAGAIN: in Err(e) => {
// ignore socket read timeout on Windows or EAGAIN on Linux
if !(e.to_string().contains("10060") || e.to_string().contains("os error 11")) {
logger(format!("*E*E>Error reading SSDP M-SEARCH response: {e}"));
}
} I suppose that adding an additional check for |
Could you send across a specific code block to paste in? not very well versed in rust or error handling unfortunately |
I applied the change on Github, so you can use the current master. But this is the changed code: Err(e) => {
// ignore socket read timeout on Windows or EAGAIN/EWOULBLOCK on Linux/Unix/MacOS
if !(e.to_string().contains("10060")
|| e.to_string().contains("os error 11")
|| e.to_string().contains("os error 35"))
{
logger(format!("*E*E>Error reading SSDP M-SEARCH response: {e}"));
}
} |
Thank you very much! Will report back once I rebuild. |
Thank you @dheijl, that has resolved that error, although no devices are showing in the list, just as before. I have tried running with sudo and manually allowing through the firewall. No worries if this isn't something you're able to solve though, I know you don't have a mac! |
Can you run it with log level debug, and then attach the log file here? Or did you check already in the log that no devices are responding to the ssdp query? |
|
Thanks, but:
Can you attach the complete log file using the GitHub drag and drop feature? But anyway it looks like the SSDP responses from UPNP devices are not getting through. Other programs seem to have similar problems using UDP on recent MAC OS versions according to Reddit ... |
Perhaps this explains it: https://forum.xojo.com/t/big-sur-udp-broadcast-not-working-normally/58832 So goodbye to open source on MAC OS if this is true. |
From what I read, it still looks possible - just with a couple of extra caveats. Completely understand why you might not want to put the effort into adapting this though, just a shame I can't find anything near as good as this project for macOS! |
Feel free to add anything needed and make a pull request if you get it to work! |
Sorry - missed this, have tried running with -l debug now and I'm not sure where the log file is saved to. |
It should be in a .swyhr-rs folder in your home directory, if such a thing exists on a MAC. |
Found the folder, but can’t seem to find any log files unfortunately. |
Anyway, let's keep this open in the hope that someone with Mac and Rust knowledge is prepared to help... |
About a year ago, I started experimenting with swyh-rs and noticed some latency on Windows. At that time, I felt it was acceptable as long as I could listen to music normally. However, recently I found that it's almost latency-free on Windows, making it suitable for watching videos or movies without any lag. But on Mac OS, I haven't come across software that's as efficient. I'm curious about what alternative software people use on Mac? Or is there any plan to adapt it for Mac?
The text was updated successfully, but these errors were encountered: