mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
protocol: make connect async
Make the protocol client connect call async with a callback when it completes. Move the connect methods into separate files, add an empty connect method that will use the screencast portal to get a pipewire fd. Use the remote intention to get the connect method. Add some better error reporting.
This commit is contained in:
parent
ad1e5fdc10
commit
d14c7abe11
7 changed files with 203 additions and 66 deletions
|
|
@ -69,6 +69,8 @@ pipewire_module_link_factory = shared_library('pipewire-module-link-factory',
|
|||
|
||||
pipewire_module_protocol_native = shared_library('pipewire-module-protocol-native',
|
||||
[ 'module-protocol-native.c',
|
||||
'module-protocol-native/local-socket.c',
|
||||
'module-protocol-native/portal-screencast.c',
|
||||
'module-protocol-native/protocol-native.c',
|
||||
'module-protocol-native/connection.c' ],
|
||||
c_args : pipewire_module_c_args,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue