ef64b60cec
Can be tested with: https://git.sr.ht/~emersion/gamescope-pipewire-demo
45 lines
2 KiB
XML
45 lines
2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<protocol name="gamescope_pipewire">
|
|
<copyright>
|
|
Copyright © 2021 Valve Corporation
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice (including the next
|
|
paragraph) shall be included in all copies or substantial portions of the
|
|
Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
DEALINGS IN THE SOFTWARE.
|
|
</copyright>
|
|
|
|
<description summary="gamescope-specific PipeWire protocol">
|
|
This is a private Gamescope protocol. Regular Wayland clients must not use
|
|
it.
|
|
</description>
|
|
|
|
<interface name="gamescope_pipewire" version="1">
|
|
<request name="destroy" type="destructor"></request>
|
|
|
|
<event name="stream_node">
|
|
<description summary="pipewire stream node advertisement">
|
|
This event advertises a PipeWire stream node identifier suitable for
|
|
capturing the main output.
|
|
|
|
A roundtrip after binding to the gamescope_pipewire global ensures this
|
|
event has been received.
|
|
</description>
|
|
<arg name="node_id" type="uint" summary="PipeWire stream node ID"/>
|
|
</event>
|
|
</interface>
|
|
</protocol>
|