module-rtp: Allow overriding session ID

This allows us to specify a static session ID, so that (Dante) receivers
can uniquely identify us as a sender. This prevents duplicate streams in
Dante Controller, for example.
This commit is contained in:
Arun Raghavan 2024-07-04 13:13:37 -04:00 committed by Wim Taymans
parent f5512e8b88
commit 7c8453f260
2 changed files with 14 additions and 4 deletions

View file

@ -529,6 +529,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
copy_props(impl, props, "net.mtu");
copy_props(impl, props, "sess.media");
copy_props(impl, props, "sess.name");
copy_props(impl, props, "sess.id");
copy_props(impl, props, "sess.min-ptime");
copy_props(impl, props, "sess.max-ptime");
copy_props(impl, props, "sess.latency.msec");