mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-12 05:34:05 -04:00
pipewire/capabilities: Update device ID negotation according to API docs
It was was documenting a previous iteration of the protocol which used a boolean and a base64 encoded list.
This commit is contained in:
parent
99079dd955
commit
f7bb4c95ed
1 changed files with 6 additions and 3 deletions
|
|
@ -21,11 +21,14 @@ extern "C" {
|
|||
* \{
|
||||
*/
|
||||
|
||||
/**< Link capable of device ID negotiation. The value is either "true" or "false" */
|
||||
/**< Link capable of device ID negotiation. The value is to the version of the
|
||||
* API specification. */
|
||||
#define PW_CAPABILITY_DEVICE_ID_NEGOTIATION "pipewire.device-id-negotiation"
|
||||
/**< Link with device ID negotition capability supports negotiating with
|
||||
* provided list of devices. The value consists of a JSON encoded string array
|
||||
* of base64 encoded dev_t values. */
|
||||
* a specific set of devices. The value of API version 1 consists of a JSON
|
||||
* object containing a single key "available-devices" that contain a list of
|
||||
* hexadecimal encoded `dev_t` device IDs.
|
||||
*/
|
||||
#define PW_CAPABILITY_DEVICE_IDS "pipewire.device-ids"
|
||||
|
||||
#define PW_CAPABILITY_DEVICE_ID "pipewire.device-id" /**< Link capable of device Id negotation */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue