module-rtp: Allow overriding session version

This allows us to set an session version for the SAP externally. Also
the default is changed from 0 to an NTP timestamp, as recommended by the
spec[1].

[1] https://datatracker.ietf.org/doc/html/rfc4566#section-5.2
This commit is contained in:
Arun Raghavan 2024-07-05 10:42:53 -04:00 committed by Wim Taymans
parent 7c8453f260
commit 6623eb8254
2 changed files with 12 additions and 2 deletions

View file

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