mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
80e7302a05
commit
f1ffd5e5e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue