You are not logged in.

#1 2025-07-03 07:34:28

m0ng00s3
Member
Registered: 2025-07-03
Posts: 1

Standalone pipewire server with ROC client

I would like to run a pipewire server as root (not as the user logged in on the "seat"), what has a native connection and an ROC sink at a server with address 192.168.1.4. I have ROC working as the normal user but I cannot do this with root.

I have a config with:

module.protocol-native.args = {
       sockets = [
           { name = "pipewire-0" }
           { name = "pipewire-0-manager" }
       ]
}
context.modules = [
 { name = libpipewire-module-protocol-native },
 {
    name = libpipewire-module-roc-sink
    args = {
      fec.code = rs8m
      remote.ip = 192.168.1.4
      remote.source.port = 10001
      remote.repair.port = 10002
      remote.control.port = 10003
      sink.name = "roc-sink"
      sink.props = {
        node.name = "roc-sink"
        media.class = "Audio/Sink"
        device.description = "ROC Sink"
      }
    }
  }
]

and when I run it I get:

XDG_RUNTIME_DIR=/run/user/0  pipewire -c $PWD/pipewire.conf
[E][19:26:59.723340] mod.roc-source | [module-roc-sourc:  549 pipewire__module_init()] can't connect: Host is down
[E][19:26:59.723435] pw.conf      | [          conf.c:  602 load_module()] 0x5555555635e0: could not load mandatory module "libpipewire-module-roc-source": Host is down
[E][19:26:59.723469] default      | [      pipewire.c:  124 main()] failed to create context: Host is down

What else is needed to get this to work?

Offline

Board footer

Powered by FluxBB