I'm guessing that most people reading this are not familiar with some of the other options available for this kind of thing. In particular, they likely don't know about Sonobus: https://sonobus.net/ (and that's likely because it's libre software and the developer doesn't really do marketing)
Show HN: Low-latency jamming over the internet
101–110 of 124 posts
Re: Show HN: Low-latency jamming over the internet
#102This is very cool (former touring musician turned software engineer here!) I'm curious about the networking/UDP side of this. How are you handling retransmits? Do you treat this like a video game would and just keep sending the latest data? Or doing something more advanced like forward error correction?
Re: Show HN: Low-latency jamming over the internet
#103I'm guessing that most people reading this are not familiar with some of the other options available for this kind of thing. In particular, they likely don't know about Sonobus: https://sonobus.net/ (and that's likely because it's libre software and the developer doesn't really do marketing)
Wow!! I'm one of those people - TIL about Sonobus. Thank you for that, because it's amazing, how-did-I-not-know software. With iOS and Android builds, too!
Re: Show HN: Low-latency jamming over the internet
#104I'm guessing that most people reading this are not familiar with some of the other options available for this kind of thing. In particular, they likely don't know about Sonobus: https://sonobus.net/ (and that's likely because it's libre software and the developer doesn't really do marketing)
Re: Show HN: Low-latency jamming over the internet
#105Earlier quoted context omitted.
And that feature adds ~20 msec more latency
You must have set it up wrong. It doesn't add any latency, but you do need a higher bitrate to get similar quality.
Re: Show HN: Low-latency jamming over the internet
#106Hey @weepy. Awesome project! As a webrtc dev - interested to hear about your choices around opus packet durations, FEC percentages, ARQ strategies, jitterbuffer length and packet redundancy.
I turned off FEC as it adds latency.
Jitter buffer right now is just user controlled. A bit lame, - I should make it automatic, but need to get the right heuristic. With a LAN connection, the buffer can be as low as one or two packets.
I don't use any packet redundancy either and there's no ARQ as if you have to ask for a retransmit you've already lost the war!
How about you ?
Re: Show HN: Low-latency jamming over the internet
#107>”We've been able to achieve sub 20ms latency from UK to Denmark - more than 1000km” It’s pretty solid given that the speed-of-light would like 3.3ms to travel that same distance.
Re: Show HN: Low-latency jamming over the internet
#108It's good that latency is considered to be so critical, but for the same reason I'm sceptical that this would work well for the majority beyond quite local ranges with very good internet connections i.e some kind of fiber... which most people don't have, although I realise a lot of the tech crowd is unaware of this (most of the worlds user end points are some kind of DSL or cell network with a 20-40ms minimum). If an…
Actually I can jam with ease with my friends in London from Denmark. That's over 1000km. And if you don't believe me - check the testimonials on https://sub.live ^_^ Also you have a much lower tolerance of latency for your own actions that other people's. I'm hopefully going to record a video this weekend to show everyone!
Re: Show HN: Low-latency jamming over the internet
#109I may be missing something but this appears to me to be a WebRTC application. It is very easy to build something like this using any modern browser's WebRTC APIs, just disable audio processing in the media constraints and munge the opus SDP to stereo, maybe play with the network buffer setting if you want to lower latency but the audio hardware and physical distance is going matter more there. The developer states th…
It uses WebRTC for the video, but the audio latency of WebRTC is too large and uncontrollable. As stated in the post, the audio uses a custom C++ UDP solution. As far as I know it's the first video calling app with very low latency audio.
Re: Show HN: Low-latency jamming over the internet
#110Earlier quoted context omitted.
It uses WebRTC for the video, but the audio latency of WebRTC is too large and uncontrollable. As stated in the post, the audio uses a custom C++ UDP solution. As far as I know it's the first video calling app with very low latency audio.
How do you deal with firewalls in that case? Sonobus has a similar problem that if you don't have accessible NAT you can't connect. You need a relay or central server which can get really expensive!