The example source is a good starting point for writing a custom source. We refer to the source code for more information.
Module Name
libpipewire-module-example-source
Module Options
- node.name: a unique name for the stream
- node.description: a human readable name for the stream
- stream.props = {}: properties to be passed to the stream
General options
Options with well-known behavior.
Example configuration
# ~/.config/pipewire/pipewire.conf.d/my-example-source.conf
context.modules = [
{ name = libpipewire-module-example-source
args = {
node.name = "example_source"
node.description = "My Example Source"
stream.props = {
audio.position = [ FL FR ]
}
}
}
]