Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to N°1 case of #1141
Related to Goal: Peer-to-peer media sharing
This PR introduce the concept of ScreenCast provider allowing apps to share their own DMABUF sharing (no encoded video) to other apps.
This is mainly done through a P2P D-Bus connection between the provider and the portal impl, with an interface implemented by the app that serves as a provider.
This feature requires to allow the session manager to link node where their owner do not see the other node, which require
PW_PERM_L
. For now a WirePlumber lua script is provided to add the permission.Interface documentation needs work and it's not my cup of tea, so I also open the to get help and feedback.
Note that the new interface is made with in mind the potential addition of audio stream.
And the feature is not dependent on GDBus, I have a sd-bus project not meant to be a demo that handle the connection and source listing properly.
Application impl demo, note that the DMA-BUF node is broken, I have difficulty to get around PipeWire documentation and API.
xdg-desktop-portal-gnome impl, not put as MRs for now
Don't hesitate to ask if I missed to specify something.