mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: link all stream ports
Create a helper in the session manager to link all ports between 2 nodes. Make the output endpoint call the input endpoint create_link, passing the node or ports to link to. Make the input endpoint complete the link by calling the session helper to link all ports. Remove the node policy, we're only using a policy for the endpoints now.
This commit is contained in:
parent
9bc5d23ffe
commit
3cd7d90d88
9 changed files with 201 additions and 1447 deletions
|
|
@ -168,6 +168,9 @@ struct pw_proxy *sm_media_session_create_object(struct sm_media_session *sess,
|
|||
const char *factory_name, uint32_t type, uint32_t version,
|
||||
const struct spa_dict *props, size_t user_data_size);
|
||||
|
||||
int sm_media_session_create_links(struct sm_media_session *sess,
|
||||
const struct spa_dict *dict);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue