User Tools

Site Tools


infra:rooms:av

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
infra:rooms:av [2026/10/07 11:49] – Include additional information about ROC on Gentoo with Pipewire burgundiainfra:rooms:av [2026/11/18 14:59] (current) – Add NixOS config burgundia
Line 32: Line 32:
  
 === Linux === === Linux ===
 +
 For Arch Linux systems with Pipewire it is recommended to install ''pipewire-roc'' and ''roc-toolkit'' For Arch Linux systems with Pipewire it is recommended to install ''pipewire-roc'' and ''roc-toolkit''
  
Line 37: Line 38:
  
 ''~/.config/pipewire/pipewire.conf.d/sound.hswaw.roc.sink.conf'' ''~/.config/pipewire/pipewire.conf.d/sound.hswaw.roc.sink.conf''
-<code>+ 
 +<code ->
 context.modules = [ context.modules = [
     {     {
Line 55: Line 57:
  
 ''~/.config/pipewire/pipewire-pulse.conf.d/10-network.conf'' ''~/.config/pipewire/pipewire-pulse.conf.d/10-network.conf''
-<code>+ 
 +<code ->
 { {
   "pulse.cmd": [   "pulse.cmd": [
Line 70: Line 73:
 </code> </code>
  
-After you apply configs, use $ ''systemctl --user restart pipewire'' if your audio server doesn't load properly, seek help. +After you apply configs, use $ ''systemctl --user restart pipewire'' if your audio server doesn't load properly, seek help. in KDE Plasma, check System Settings/Audio for ''ROC sink'' as that device can hide in audio tray settings. 
-in KDE Plasma, check System Settings/Audio for ''ROC sink'' as that device can hide in audio tray settings.+ 
 +**NixOS** 
 + 
 +In NixOS, the following needs to be added to your system configuration: 
 + 
 +<code nix configuration.nix> 
 +  services.pipewire = { 
 +    extraConfig = { 
 +      pipewire = { 
 +        "sound.hswaw.roc.sink" = { 
 +          context.modules = [ 
 +            { 
 +              name = "libpipewire-module-roc-sink"; 
 +              args = { 
 +                remote.ip = "10.8.1.16"; 
 +                remote.source.port = 10001; 
 +                remote.repair.port = 10002; 
 +                sink.name = "Soundbox@HSWAW"; 
 +                sink.props = { 
 +                    node.name = "Soundbox@HSWAW"; 
 +                }; 
 +              }; 
 +            } 
 +          ]; 
 +        }; 
 +      }; 
 +      pipewire-pulse = { 
 +        "10-network" = { 
 +          "pulse.cmd" = [ 
 +            { 
 +              cmd = "load-module"; 
 +              args = "module-zeroconf-discover"; 
 +            } 
 +            { 
 +              cmd = "load-module"; 
 +              args = "module-raop-discover"; 
 +            } 
 +          ]; 
 +        }; 
 +      }; 
 + 
 +    }; 
 +  }; 
 +</code>
  
 === Android === === Android ===
  
 Streaming to Roc from Android requires an additional app - [[https://github.com/roc-streaming/roc-droid|roc-droid]] - and streaming doesn't work for everything. The app appears to be using screen capture APIs, and my guess is that DRMed apps can disallow (audio?) capture: Streaming to Roc from Android requires an additional app - [[https://github.com/roc-streaming/roc-droid|roc-droid]] - and streaming doesn't work for everything. The app appears to be using screen capture APIs, and my guess is that DRMed apps can disallow (audio?) capture:
 +
   * streaming microphone works   * streaming microphone works
   * streaming some apps (eg. mobile firefox playing youtube) works   * streaming some apps (eg. mobile firefox playing youtube) works
Line 89: Line 136:
  
 AirPlay should be available out-of-the-box on both MacOS and iOS devices. There's (untested) [[https://github.com/roc-streaming/roc-vad|Roc Virtual Audio Device]] app if anyone wants to try Roc on MacOS AirPlay should be available out-of-the-box on both MacOS and iOS devices. There's (untested) [[https://github.com/roc-streaming/roc-vad|Roc Virtual Audio Device]] app if anyone wants to try Roc on MacOS
 +
  
 ===== HDMI Matrix (legacy) ===== ===== HDMI Matrix (legacy) =====
infra/rooms/av.txt · Last modified: by burgundia

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki