pipewire-cli man page

pipewire-cli ā€” The PipeWire Command Line Interface

Synopsis

pipewire-cli

Description

Interact with a PipeWire instance.

pipewire-cli(1) starts an interactive session with a pipewire instance. By default, a connection is made with the local PipeWire instance, that of the pipewire-cli command itself.

Connections to other, remote instances can be made. The current instance name is displayed at the prompt. Some commands operate on the current instance and some on the local instance.

Use the 'help' command to list the available commands.

General Commands

help

Show a quick help on the commands available.

Module Management

Modules are loaded and unloaded in the local instance and can add functionality or objects to the local instance.

load-module name [arguments...]

Load a module specified by its name and arguments. For most modules it is OK to be loaded more than once.

This command returns a module variable that can be used to unload the module.

unload-module module-var

Unload a module, specified either by its variable.

Object Introspection

list-objects

List the objects of the current instance.

Objects are listed with their id, type and version.

info id|all

Get information about a specific object or all objects.

Requesting info about an object will also notify you of changes.

Working with Remotes

connect [remote-name]

Connect to a remote instance and make this the new current instance.

If no remote name is specified, a connection is made to the default remote instance, usually pipewire-0

This command returns a remote var that can be used to disconnect or switch remotes

disconnect [remote-var]

Disconnect from a remote instance.

If no remote name is specified, the current instance is disconnected.

list-remotes

List all remote instances.

switch-remote [remote-var]

Make the specified remote the current instance.

If no remote name is specified, the local instance is made current.

Node Management

create-node factory-name [properties...]

Create a node from a factory in the current instance.

Properties are key=value pairs separated by whitespace

This command returns a node variable.

destroy-node node-var

Destroy a node

export-node node-id [remote-var]

Export a node from the local instance to the specified instance. When no instance is specified, the node will be exported to the current instance.

Examples

Authors

The PipeWire Developers <https://github.com/PipeWire/pipewire/issues>; PipeWire is available from http://pipewire.org

See Also

pipewire(1), pipewire-monitor(1),

Info

User Manuals