mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
subscribe: rework some more
Track senders in the subscribe object and aggregate events from all connected clients. This allows each client to get a complete view of all the objects of pulsevideo. With all the source objects available, we can then to the selection of the source on each client. Remove the CreatSourceOutput on the Client1 object but let the client select a good source and call CreateSourceOutput directly on the source. This avoid going through the server to get a connection and the client can just as well select a source. Add a state property to the source and make it such that it can do async state changes. Remove the source provider object, each client can now directly see the objects of another clients so there is no need for intermediate objects in the server.
This commit is contained in:
parent
89c7955f3d
commit
417cd76f3e
17 changed files with 603 additions and 388 deletions
|
|
@ -62,7 +62,7 @@ struct _PvClientClass {
|
|||
/* normal GObject stuff */
|
||||
GType pv_client_get_type (void);
|
||||
|
||||
PvClient * pv_client_new (PvDaemon *daemon, const gchar *prefix);
|
||||
PvClient * pv_client_new (PvDaemon *daemon, const gchar *sender, const gchar *prefix);
|
||||
|
||||
const gchar * pv_client_get_object_path (PvClient *client);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue