module-rtp: improve properties

This commit is contained in:
Wim Taymans 2022-10-07 16:12:22 +02:00
parent 37f57dc09f
commit c06f936a88
2 changed files with 4 additions and 8 deletions

View file

@ -799,7 +799,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
pw_properties_set(props, PW_KEY_NODE_DESCRIPTION,
pw_properties_get(props, PW_KEY_NODE_NAME));
if (pw_properties_get(props, PW_KEY_MEDIA_NAME) == NULL)
pw_properties_set(props, PW_KEY_MEDIA_NAME, "RTP Stream");
pw_properties_set(props, PW_KEY_MEDIA_NAME, "RTP Sender Stream");
if ((str = pw_properties_get(props, "stream.props")) != NULL)
pw_properties_update_string(stream_props, str, strlen(str));