News for hackers. Stuff that matters.
Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @10:24AM (#28968810)
I don't get these realtime collaborative streaming services.

Streaming at home via wifi is already crappy, how should this ever work with more distance?

Re:Show HN: Low-latency jamming over the internet by capableweb on Saturday October 23, 2021 @10:27AM (#28968839)
Don't use WiFi? Ethernet has way less latency. Combine with everyone being in the same city/region and using fiber network and latency should be really good.

Otherwise, find friends that you have visibility with and setup a P2P WiFi via antennas/radios, you'll get insanely good latency.

Re:Show HN: Low-latency jamming over the internet by enlyth on Saturday October 23, 2021 @11:06AM (#28969193)
This has not been my experience, with a dedicated PCIe wifi card, the difference in latency to when I plug in the ethernet cable is about 1ms, if even that, to the point it's not worth running cables.
Re:Show HN: Low-latency jamming over the internet by fragmede on Saturday October 23, 2021 @11:58AM (#28969678)
PCIe (vs USB) is but one of many factors. Which frequency is the wifi on? how busy is the spectrum there? What features does the router support (MIMO, Wifi 6, etc)? I'm happy for you that the difference between wifi and wired is 1 ms, but that experience is far from universal.

Ping is also a singular piece of detail. Ping between two mediums can change by 1 ms but have a huge effect on throughput and jitter? Which affects streaming over the Internet a great deal despite not being so obviously linked.

Re:Show HN: Low-latency jamming over the internet by jagger27 on Saturday October 23, 2021 @02:32PM (#28971047)
In perfect circumstances, yeah of course WiFi is stable. If you live in a dense urban area with tons of WiFi noise latency tends to jitter quite a bit. This isn't a problem with Ethernet.
Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @10:36AM (#28968922)
Yeah, I shouldn't use tech that is basically used all over the world for convenient internet connections to access a new tech that is basically built on top of that.

Sounds reasonable...

Re:Show HN: Low-latency jamming over the internet by NikolaNovak on Saturday October 23, 2021 @10:58AM (#28969130)
I mean, ethernet/wired IS, also, a convenient standard tech used all over the world. There's any number of convenient tech out there, and not all of it is for every purpose. My Minivan is supremely convenient ubiquitous tech for my kids & family but I wouldn't use it on a racetrack. My WRX is fun for rallies but I wouldn't use it to haul cargo. My phone is a great convenient ubiquitous camera but I wouldn't use it to capture professional wedding events. etc.

WiFi is indeed a convenient tech used all around the world... for convenience, not performance. If you're gaming, if you need security, if you need reliable and consistent performance, Ethernet is pretty ubiquitous. I have couple of wires from Bell router to gaming and music computer at home, wifi for other usages.

When added to your extremely sarcastic tone to honest attempts to assist... what are you actually trying to achieve/learn here?

Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @11:42AM (#28969512)
The sarcastic tone was because it felt like someone tried to help by saying "just replace your convenient infrastructure with something much less convenient and everything will be okay"
Re:Show HN: Low-latency jamming over the internet by fragmede on Saturday October 23, 2021 @12:07PM (#28969765)
I get that wired is less convenient (I'm not going to argue the semantics of "most"), but until we can transmit power wirelessly from a distance for consumers, everyone is still dealing with wires to charge their devices. (Even if you have wireless charging, it's still not at a distance and you have to get it just right on the charging pad.)

Trying to convince everyone else that something as simple as plugging a wire in, is horribly onerous, when they do it every day or so, is probably going to be an uphill battle, especially if it's for something people want. Where jamming with friends over the Internet ranks in your list of desires, vs never ever having to do this horrible act of plugging in a wire, is on you.

Re:Show HN: Low-latency jamming over the internet by NikolaNovak on Saturday October 23, 2021 @11:53AM (#28969630)
But that's exactly true. It's a matter of what you are optimizing for - convenience or performance.

There's any number of things WiFi isn't the perfect answer for.

Ultimately, in today's world, if you want to jam with musicians not in your room, some non zero effort will be required. Presumably you have setup you audio interface, music interface, microphones, software, mixer, midi and asio, etc etc etc... Honestly, for me at least, Ethernet is the least inconvenient or nerdy or annoying aspect of home studio :-)

Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @12:07PM (#28969768)
Yes, you're probably right.

For me, cables are a huge issue, because my PC is in a room that's not directly connected to my appartement, where my internet connection is located.

Re:Show HN: Low-latency jamming over the internet by erinaceousjones on Saturday October 23, 2021 @10:42AM (#28968977)
"This won't work with the commodity technology I use" (wireless LAN)

"Here's some ways in which it can work using a slightly different but still as widely used commodity technology" (wired LAN)

"No, that is unreasonable, wires are unreasonable"

Like, it's SUCH a simple solution: use wires. That's how I can stream games from my computer to my parent's house at 1080p60 with only about 30ms latency over domestic broadband connection, for example.

Also, sometimes you can get really lucky with wireless on 5ghz - see streaming in VR as a prime example. The developer of Virtual Desktop for the Quest has done some great work getting a really solid low latency VR feel; I've been able to stream games from rent-a-VM ShadowPC servers without feeling the lag.

OK, so pro audio is a different beast and is even more sensitive to latency than VR, but here people are having fun with this tech and clearly it's working for them!

Re:Show HN: Low-latency jamming over the internet by rytill on Saturday October 23, 2021 @11:01AM (#28969160)
It’s impossible to get some people to use wires. I work in an area where a high bandwidth, low latency connection is in theory mission critical for my customers and they still use WiFi 80% of the time.
Re:Show HN: Low-latency jamming over the internet by bob1029 on Saturday October 23, 2021 @11:43AM (#28969515)
> It’s impossible to get some people to use wires.

Indeed. Perhaps we don't worry about those people anymore. If you are interested in a high quality experience but don't want to satisfy the prerequisites, you are not entitled.

WiFi is never going to provide a reliable, ultra-low-latency streaming experience for the average person. This isn't a "we can but we won't" type of problem where, with just a bit of extra effort, we can somehow magically solve all of the deficits.

Yes, there are scenarios where WiFi is indistinguishable from ethernet, but those are exceedingly rare in my experience.

Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @10:48AM (#28969035)
How is 30ms remotely a good latency here?

I have 14ms between my Quest/PC and it feels sluggish.

Re:Show HN: Low-latency jamming over the internet by capableweb on Saturday October 23, 2021 @10:52AM (#28969073)
From the website:

> We've been able to achieve sub 20ms latency from UK to Denmark - more than 1000km !

That is pretty good latency for what it does, it's not just ICMP packages but sending/receiving audio and then all that comes with it.

How are you connecting your Quest and PC? Sounds awful, my latency to friends outside the city has a shorter latency than that and they are more than 10km away from me.

Re:Show HN: Low-latency jamming over the internet by k__ on Saturday October 23, 2021 @10:55AM (#28969102)
That's why I don't believe those numbers.

All I've seen in shorter distances was usually worse :(

Re:Show HN: Low-latency jamming over the internet by grepfru_it on Saturday October 23, 2021 @11:15AM (#28969295)
this right here.

1 mile away, both of us have AT&T fiber, we're seeing 10-15ms response times (packet size ~1400).

100 miles away, both on AT&T fiber clocked in around 18-20ms

1 mile away, one on AT&T fiber the other on Comcast gigabit had response times around 24ms

100 miles away, one on AT&T fiber the other on Comcast gigabit had response times around 35ms

i'm hard pressed to believe you will find an american ISP that prioritizes low latency. verizon 5g home actually did some magic with their non-standard hardware where i was seeing 9ms to my in-town datacenter and 16ms to my out-of-state datacenter. when they replaced the hardware with the standards-compliant generation of hardware my latency increased to 30ms in-town (they also changed towers so that could be part of the problem, plus congestion during prime time)

i just moved where i am 6 blocks away from my friend who i did the 1 mile test with. i will retest this afternoon and update this comment

Re:Show HN: Low-latency jamming over the internet by wmwmwm on Saturday October 23, 2021 @04:04PM (#28971740)
I see 3ms ping times between my friend and I on opposite sides of London, though we’re both on pretty decent broadband tech (me gfast, him some fancy hyperoptic plan). IIUC there are some ADSL technologies that add some minimum latency floor of 10+ ms. However the long distance stretches of backbone fibre shouldn’t necessarily add too much latency - e.g 100km of fibre at 2/3rd speed of light is an additional 1ms on your (two way) ping time
Re:Show HN: Low-latency jamming over the internet by weepy on Saturday October 23, 2021 @11:53AM (#28969625)
That sounds really crazy bad. Europe here so I don't know much about US - but I've had US people use it an report good experience - so dunno.
Re:Show HN: Low-latency jamming over the internet by capableweb on Saturday October 23, 2021 @11:10AM (#28969236)
Maybe because you refuse to use wires and instead use WiFi which can have really bad latency? If you really, really, really want to use WiFi, get a dedicated PCIe/external WiFi optimized for latency and you can get close to Ethernet latency.
Re:Show HN: Low-latency jamming over the internet by wmwmwm on Saturday October 23, 2021 @03:54PM (#28971675)
It’s worth remembering that sound takes 3ms to travel a metre. If you’re standing a few metres away from a drummer then the round trip time is already pushing 20-30 ms of latency and yet you can still play together in a rehearsal room
Re:Show HN: Low-latency jamming over the internet by capableweb on Saturday October 23, 2021 @10:41AM (#28968968)
The suggestion of a P2P mesh is only if you physically could set that up.

Otherwise, using Ethernet + Fiber connection should be good enough for most. Only if you really wanna lower the latency should you invest in additional hardware.

Re:Show HN: Low-latency jamming over the internet by weepy on Saturday October 23, 2021 @10:53AM (#28969085)
You can play with Wifi - it's OK - but you get probably 5-10ms better latency with Wired LAN. Also I think you have a lower tolerance for latency of your own actions vs the latency of another person's.
Re:Show HN: Low-latency jamming over the internet by wmwmwm on Saturday October 23, 2021 @04:05PM (#28971756)
Wifi might not be too bad, though it can spontaneously degrade badly if you get interference. Not great in the middle of a jam!
Re:Show HN: Low-latency jamming over the internet by erik_p on Saturday October 23, 2021 @02:04PM (#28970835)
Well you get that there a need for it, and people are trying to find solutions to overcome the issue of latency, that's the whole point, isn't it?