25

Roc Toolkit implements real-time streaming over unreliable networks like Internet and Wi-Fi. It works on Linux and macOS and provides C library, CLI tools, modules for PulseAudio and PipeWire, and Android app.

https://github.com/roc-streaming/roc-toolkit

top 6 comments
sorted by: hot top controversial new old
[-] ptz@dubvee.org 3 points 1 year ago* (last edited 1 year ago)

Ooh. I've been using Snapcast for my multi-room audio, but this seems more versatile. Going to check it out for sure.

Have you used it? Curious about latency. Snapcast has about a 1 second buffer which makes it not ideal for anything beyond music casting.

[-] Chewy7324@discuss.tchncs.de 3 points 1 year ago

I haven't used it but especially the part about guaranteed latency over wireless is interesting.

[-] chtk@feddit.nl 3 points 1 year ago

I'm currently using ROC on my laptop and desktop. Latency is low enough to not be noticeable when playing video on my laptop and streaming audio to the desktop. Audio can get a bit choppy if my laptop is on WiFi. But that is most probably because the signal between the repeater on the second floor and my DSL modem on the ground floor is pretty meh.

[-] ptz@dubvee.org 3 points 1 year ago* (last edited 1 year ago)

Latency is low enough to not be noticeable when playing video on my laptop and streaming audio to the desktop.

That's basically my use case. Want to use my HTPC as the source and some RasPi's or repurposed thin clients as the sinks - pretty much what I do now with MPD and Snapcast. I absolutely do not want to have to mess with audio offset settings in Emby to keep the dialog in sync. lol

I've only skimmed the docs (holidays are a huge time sink haha), but do you know if it can do one-to-many or just one-to-one? Like, can I have one source and multiple receivers? The docs seemed to imply it could do one-to-many, but I didn't get to dive into them deep enough.

[-] chtk@feddit.nl 2 points 1 year ago

Sorry for the late reply.

I don't know if ROC can do multicast on its own. I use the Pipewire source and sink. And I only do the one-to-one setup.

I did some tests in Pipewire:

Configuring multiple sinks is possible on a machine. They simply present as additional output devices. So if you want to switch audio to another source, that should be doable by switching to another output device.

Doing one-to-many: I don't know if that is possible with ROC alone. You might be able to do something with Pipewire graphs

[-] Quackdoc@lemmy.world 1 points 1 year ago

i've been using sonobus lately and it's been pretty good, I had latency issues when I tested the android app a long time ago, ill have to test it again

this post was submitted on 23 Nov 2023
25 points (100.0% liked)

Linux

48376 readers
1237 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS