diff --git a/src/pipewire/remote.c b/src/pipewire/remote.c index 2cf6c16d2..dde8ec851 100644 --- a/src/pipewire/remote.c +++ b/src/pipewire/remote.c @@ -317,6 +317,11 @@ struct pw_core *pw_remote_get_core(struct pw_remote *remote) return remote->core; } +const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote) +{ + return remote->properties; +} + void *pw_remote_get_user_data(struct pw_remote *remote) { return remote->user_data; diff --git a/src/pipewire/remote.h b/src/pipewire/remote.h index 1921b68f7..e88267be1 100644 --- a/src/pipewire/remote.h +++ b/src/pipewire/remote.h @@ -157,6 +157,9 @@ void pw_remote_destroy(struct pw_remote *remote); /** Get the core used to construct this remote */ struct pw_core *pw_remote_get_core(struct pw_remote *remote); +/** Get the remote properties */ +const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote); + /** Get the user_data. The size was given in \ref pw_remote_new */ void *pw_remote_get_user_data(struct pw_remote *remote);