libpipewire-module-roc-source(7) Miscellaneous Information Manual libpipewire-module-roc-source(7)

# [NAME](#NAME)

libpipewire-module-roc-source - ROC source

# [DESCRIPTION](#DESCRIPTION)

The roc-source module creates a PipeWire source that receives samples from ROC sender and passes them to the sink it is connected to.

One can then connect it to any audio device.

# [MODULE NAME](#MODULE_NAME)

libpipewire-module-roc-source

# [MODULE OPTIONS](#MODULE_OPTIONS)

Options specific to the behavior of this module

- source.props = {}: properties to be passed to the source stream
- source.name = &lt;str&gt;: node.name of the source
- local.ip = &lt;str&gt;: local sender ip
- local.source.port = &lt;str&gt;: local receiver TCP/UDP port for source packets
- local.repair.port = &lt;str&gt;: local receiver TCP/UDP port for receiver packets
- local.control.port = &lt;str&gt;: local receiver TCP/UDP port for control packets
- sess.latency.msec = &lt;str&gt;: target network latency in milliseconds
- roc.resampler.backend = &lt;str&gt;: Possible values: default, builtin, speex, speexdec.
- roc.resampler.profile = &lt;str&gt;: Possible values: default, high, medium, low.
- roc.latency-tuner.backend = &lt;str&gt;: Possible values: default, niq
- roc.latency-tuner.profile = &lt;str&gt;: Possible values: default, intact, responsive, gradual
- fec.code = &lt;str&gt;: Possible values: default, disable, rs8m, ldpc
- resampler.profile = &lt;str&gt;: Deprecated, use roc.resampler.profile
- log.level = &lt;str&gt;: log level for roc-toolkit. Possible values: DEFAULT, NONE, ERROR, INFO, DEBUG, TRACE; DEFAULT follows the log level of the PipeWire context.

# [GENERAL OPTIONS](#GENERAL_OPTIONS)

Options with well-known behavior:

- **node.name**
- **node.description**
- **node.virtual**
- **node.network**
- **media.class**
- **audio.position**

# [EXAMPLE CONFIGURATION](#EXAMPLE_CONFIGURATION)

```


 # ~/.config/pipewire/pipewire.conf.d/my-roc-source.conf


 context.modules = [


  {   name = libpipewire-module-roc-source


      args = {


          local.ip = 0.0.0.0


          #roc.resampler.backend = default


          roc.resampler.profile = medium


          #roc.latency-tuner.backend = default


          #roc.latency-tuner.profile = default


          fec.code = disable


          sess.latency.msec = 5000


          local.source.port = 10001


          local.repair.port = 10002


          local.control.port = 10003


          source.name = "ROC Source"


          source.props = {


             node.name = "roc-source"


          }


          audio.position = [ FL FR ]


          log.level = DEFAULT


      }


  }
]
```

1.6.11 PipeWire

---

Document: libpipewire-module-roc-source(7) from pipewire 1.6.11-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/pipewire/pipewire
