PipeWire  0.2.9
keys.h
Go to the documentation of this file.
1 /* PipeWire
2  *
3  * Copyright © 2019 Wim Taymans
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 
25 #ifndef PIPEWIRE_KEYS_H
26 #define PIPEWIRE_KEYS_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
42 /* Peroperties usually set on the core object */
43 #define PW_KEY_USER_NAME "pipewire.user-name"
44 #define PW_KEY_HOST_NAME "pipewire.host-name"
45 #define PW_KEY_CORE_NAME "pipewire.core.name"
47 #define PW_KEY_CORE_VERSION "pipewire.core.version"
48 #define PW_KEY_CORE_DAEMON "pipewire.core.daemon"
53 #define PW_KEY_PROTOCOL "pipewire.protocol"
54 #define PW_KEY_ACCESS "pipewire.access"
59 #define PW_KEY_SEC_PID "pipewire.sec.pid"
60 #define PW_KEY_SEC_UID "pipewire.sec.uid"
61 #define PW_KEY_SEC_GID "pipewire.sec.gid"
62 #define PW_KEY_SEC_LABEL "pipewire.sec.label"
64 #define PW_KEY_LIBRARY_NAME_SYSTEM "library.name.system"
65 #define PW_KEY_LIBRARY_NAME_LOOP "library.name.loop"
66 #define PW_KEY_LIBRARY_NAME_DBUS "library.name.dbus"
68 #define PW_KEY_CORE_MONITORS "core.monitors"
70 /* remote keys */
71 #define PW_KEY_REMOTE_NAME "remote.name"
73 #define PW_KEY_REMOTE_INTENTION "remote.intention"
77 #define PW_KEY_APP_NAME "application.name"
78 #define PW_KEY_APP_ID "application.id"
80 #define PW_KEY_APP_VERSION "application.version"
81 #define PW_KEY_APP_ICON "application.icon"
82 #define PW_KEY_APP_ICON_NAME "application.icon-name"
84 #define PW_KEY_APP_LANGUAGE "application.language"
87 #define PW_KEY_APP_PROCESS_ID "application.process.id"
88 #define PW_KEY_APP_PROCESS_BINARY "application.process.binary"
89 #define PW_KEY_APP_PROCESS_USER "application.process.user"
90 #define PW_KEY_APP_PROCESS_HOST "application.process.host"
91 #define PW_KEY_APP_PROCESS_MACHINE_ID "application.process.machine-id"
93 #define PW_KEY_APP_PROCESS_SESSION_ID "application.process.session-id"
97 #define PW_KEY_WINDOW_X11_DISPLAY "window.x11.display"
100 #define PW_KEY_CLIENT_NAME "client.name"
101 #define PW_KEY_CLIENT_API "client.api"
105 #define PW_KEY_NODE_ID "node.id"
106 #define PW_KEY_NODE_NAME "node.name"
107 #define PW_KEY_NODE_PLUGGED "node.plugged"
109 #define PW_KEY_NODE_SESSION "node.session"
110 #define PW_KEY_NODE_EXCLUSIVE "node.exclusive"
111 #define PW_KEY_NODE_AUTOCONNECT "node.autoconnect"
113 #define PW_KEY_NODE_TARGET "node.target"
115 #define PW_KEY_NODE_LATENCY "node.latency"
117 #define PW_KEY_NODE_DONT_RECONNECT "node.dont-reconnect"
118 #define PW_KEY_NODE_PAUSE_ON_IDLE "node.pause-on-idle"
119 #define PW_KEY_NODE_DRIVER "node.driver"
120 #define PW_KEY_NODE_STREAM "node.stream"
123 #define PW_KEY_PORT_ID "port.id"
124 #define PW_KEY_PORT_NAME "port.name"
125 #define PW_KEY_PORT_DIRECTION "port.direction"
127 #define PW_KEY_PORT_ALIAS1 "port.alias1"
128 #define PW_KEY_PORT_ALIAS2 "port.alias2"
129 #define PW_KEY_PORT_PHYSICAL "port.physical"
130 #define PW_KEY_PORT_TERMINAL "port.terminal"
131 #define PW_KEY_PORT_CONTROL "port.control"
132 #define PW_KEY_PORT_MONITOR "port.monitor"
135 #define PW_KEY_LINK_INPUT_NODE "link.input.node"
136 #define PW_KEY_LINK_INPUT_PORT "link.input.port"
137 #define PW_KEY_LINK_OUTPUT_NODE "link.output.node"
138 #define PW_KEY_LINK_OUTPUT_PORT "link.output.port"
139 #define PW_KEY_LINK_PASSIVE "link.passive"
143 #define PW_KEY_DEVICE_NAME "device.name"
144 #define PW_KEY_DEVICE_PLUGGED "device.plugged"
146 #define PW_KEY_DEVICE_NICK "device.nick"
147 #define PW_KEY_DEVICE_STRING "device.string"
149 #define PW_KEY_DEVICE_API "device.api"
151 #define PW_KEY_DEVICE_DESCRIPTION "device.description"
153 #define PW_KEY_DEVICE_BUS_PATH "device.bus-path"
155 #define PW_KEY_DEVICE_SERIAL "device.serial"
156 #define PW_KEY_DEVICE_VENDOR_ID "device.vendor.id"
157 #define PW_KEY_DEVICE_VENDOR_NAME "device.vendor.name"
158 #define PW_KEY_DEVICE_PRODUCT_ID "device.product.id"
159 #define PW_KEY_DEVICE_PRODUCT_NAME "device.product.name"
160 #define PW_KEY_DEVICE_CLASS "device.class"
161 #define PW_KEY_DEVICE_FORM_FACTOR "device.form-factor"
166 #define PW_KEY_DEVICE_BUS "device.bus"
169 #define PW_KEY_DEVICE_SUBSYSTEM "device.subsystem"
170 #define PW_KEY_DEVICE_ICON "device.icon"
172 #define PW_KEY_DEVICE_ICON_NAME "device.icon-name"
174 #define PW_KEY_DEVICE_INTENDED_ROLES "device.intended-roles"
180 #define PW_KEY_MODULE_NAME "module.name"
181 #define PW_KEY_MODULE_AUTHOR "module.author"
182 #define PW_KEY_MODULE_DESCRIPTION "module.description"
184 #define PW_KEY_MODULE_USAGE "module.usage"
186 #define PW_KEY_MODULE_VERSION "module.version"
189 #define PW_KEY_FACTORY_NAME "factory.name"
190 #define PW_KEY_FACTORY_USAGE "factory.usage"
191 #define PW_KEY_FACTORY_TYPE_NAME "factory.type.name"
192 #define PW_KEY_FACTORY_TYPE_VERSION "factory.type.version"
195 #define PW_KEY_STREAM_IS_LIVE "stream.is-live"
196 #define PW_KEY_STREAM_LATENCY_MIN "stream.latency.min"
197 #define PW_KEY_STREAM_LATENCY_MAX "stream.latency.max"
198 #define PW_KEY_STREAM_MONITOR "stream.monitor"
203 #define PW_KEY_OBJECT_LINGER "object.linger"
207 #define PW_KEY_MEDIA_TYPE "media.type"
209 #define PW_KEY_MEDIA_CATEGORY "media.category"
211 #define PW_KEY_MEDIA_ROLE "media.role"
215 #define PW_KEY_MEDIA_CLASS "media.class"
216 #define PW_KEY_MEDIA_NAME "media.name"
217 #define PW_KEY_MEDIA_TITLE "media.title"
218 #define PW_KEY_MEDIA_ARTIST "media.artist"
219 #define PW_KEY_MEDIA_COPYRIGHT "media.copyright"
220 #define PW_KEY_MEDIA_SOFTWARE "media.software"
221 #define PW_KEY_MEDIA_LANGUAGE "media.language"
222 #define PW_KEY_MEDIA_FILENAME "media.filename"
223 #define PW_KEY_MEDIA_ICON "media.icon"
225 #define PW_KEY_MEDIA_ICON_NAME "media.icon-name"
229 #define PW_KEY_FORMAT_DSP "format.dsp"
232 #define PW_KEY_AUDIO_CHANNEL "audio.channel"
233 #define PW_KEY_AUDIO_RATE "audio.samplerate"
234 #define PW_KEY_AUDIO_CHANNELS "audio.channels"
235 #define PW_KEY_AUDIO_FORMAT "audio.format"
238 #define PW_KEY_VIDEO_RATE "video.framerate"
239 #define PW_KEY_VIDEO_FORMAT "video.format"
240 #define PW_KEY_VIDEO_SIZE "video.size"
243 #ifdef __cplusplus
244 }
245 #endif
247 #endif /* PIPEWIRE_KEYS_H */