media-session: pass the client.id in the endpoint

Pass the client.id that we made this endpoint for in the endpoint
properties. This makes it possible to let pulse find the client
that belongs to the endpiont. The client.id is used to find the
client that actually made the object (the session manager)
This commit is contained in:
Wim Taymans 2019-11-15 18:49:10 +01:00
parent b518496136
commit f2ce69c4bd
4 changed files with 7 additions and 1 deletions

View file

@ -306,6 +306,7 @@ int endpoint_init(struct endpoint *this,
PW_KEY_MEDIA_CLASS,
PW_KEY_PRIORITY_SESSION,
PW_KEY_ENDPOINT_NAME,
PW_KEY_ENDPOINT_CLIENT_ID,
PW_KEY_ENDPOINT_ICON_NAME,
NULL
};