module-rtp: Propagate cleanup.sec to module-rtp-source

This might be specified on a `create-stream`, but then not actually
applied as a module argument, and thus be ignored.
This commit is contained in:
Arun Raghavan 2024-06-19 11:15:17 -04:00
parent 2c7272a13a
commit 9559b9382b

View file

@ -975,6 +975,10 @@ static int session_load_source(struct session *session, struct pw_properties *pr
if ((media = pw_properties_get(props, "sess.media")) == NULL)
media = "audio";
if ((str = pw_properties_get(props, "cleanup.sec")) != NULL) {
fprintf(f, "\"cleanup.sec\" = \"%s\", ", str);
}
if (spa_streq(media, "audio")) {
const char *mime;
const struct format_info *format_info;