module-rtp-source: Read cleanup.sec property from stream properties

This allows for setting the cleanup.sec value in the create-stream
block in the module-rtp-sap configuration.
This commit is contained in:
Carlos Rafael Giani 2025-10-19 16:19:16 +02:00
parent 80e7302a05
commit f1ffd5e5e8

View file

@ -797,7 +797,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
* till we make it (or get timed out) */
pw_properties_set(stream_props, "rtp.receiving", "true");
impl->cleanup_interval = pw_properties_get_uint32(props,
impl->cleanup_interval = pw_properties_get_uint32(stream_props,
"cleanup.sec", DEFAULT_CLEANUP_SEC);
impl->core = pw_context_get_object(impl->context, PW_TYPE_INTERFACE_Core);