media-session: add getopt support

Add options to media-session
Add an option to enable or disable modules
Add an option to set properties for later use
This commit is contained in:
Wim Taymans 2020-03-30 14:09:44 +02:00
parent e00c0ffd2d
commit 2b7f01f5af
2 changed files with 108 additions and 9 deletions

View file

@ -226,6 +226,8 @@ struct sm_media_session_events {
struct sm_media_session {
struct sm_session *session; /** session object managed by this session */
struct pw_properties *props;
uint32_t session_id;
struct pw_client_session *client_session;