GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing pipewire.pages.freedesktop.org — Linking Policy — WirePlumber 0.5.19 documentation Linking PolicyIntroductionThe linking policy in WirePlumber is the logic charged to link a PipeWire stream node with a PipeWire device node (most cases), or with another PipeWire stream node (monitoring applications). PipeWire stream nodes always have one of the following media classes:
And PipeWire device nodes always have one of the following media classes:
By default, since in most cases we want to link a stream node with a device node, the linking policy logic when linking 2 nodes always follows the following assignments: After that, once the media class of a device node has been selected for a particular stream node, and there are more than 1 device node matching such media class, WirePlumber will select one based on a set of priorities: First, it will check if there is a default configured device node for the
selected device media class. If there is one, and the node exists, it will link
the stream node with such configured default node. Users can easily configure
default device nodes for all the 3 different device media classes using tools
such as As a node can have several streams, the default metadata value can also
select the default stream of the default node with an optional id:0 key:'default.configured.audio.sink' value:'{"name":"the-node-name", "stream":"the-port-group"}' type:'Spa:String:JSON' If If there isn't any default node configured, or there is a default node
configured but the node does not exist, WirePlumber will instead select the
best device node available. The best device node is the node with highest
session priority (see Node priorities) and available routes to the
physical device. The logic is
implemented in the If the best node could not be found because the system does not have any, WirePlumber won't link the stream and will send a "no target node available" error to the client. Stream node linking propertiesThe above default linking logic behavior can be changed by setting specific properties on the nodes. Note These properties must be set in the stream nodes (not the device nodes), otherwise they won't have any effect.
The name of the desired node for this stream to be linked with.
If this property is present, WirePlumber will try to find such node, see if it
can be linked with the stream, and if so, will use it instead of the default
node or best node. The logic is implemented in the Note that any node name can be specified there, even if the name is not a device
node name, but another stream node name. If this is the case, WirePlumber will
link 2 stream nodes together. An example of this case is the monitoring nodes
created by
Boolean indicating whether the stream node should not be reconnected to a new
node if its current linked node (target) was destroyed or not. By default it
is set to
Boolean indicating whether the stream node should not be movable or not at runtime
using the metadata. If a stream node is not movable, it means that users cannot
relink the stream node to a new target at runtime (using tools such as
Boolean indicating whether the stream node should not fallback to a different
target if its defined target does not exist (the one defined with the
Boolean indicating whether the stream node should linger or not if its defined
target was not found and the Linking settingsApart from the above properties, there are also global settings for the linking
policy. See Well-known settings for more information, the linking settings
are prefixed with |
| You are visitor 01402809 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |