module-rtp: support sess.ignore-ssrc globally

This commit is contained in:
Wim Taymans 2023-07-06 13:08:21 +02:00
parent 126e03ec73
commit 48a892aeec

View file

@ -52,6 +52,7 @@
* - `source.port = <int>`: the source port
* - `node.always-process = <bool>`: true to receive even when not running
* - `sess.latency.msec = <str>`: target network latency in milliseconds, default 100
* - `sess.ignore-ssrc = <bool>`: ignore SSRC, default false
* - `sess.media = <string>`: the media type audio|midi|opus, default audio
* - `stream.props = {}`: properties to be passed to the stream
*
@ -81,6 +82,7 @@
* #source.ip = 224.0.0.56
* #source.port = 0
* sess.latency.msec = 100
* #sess.ignore-ssrc = false
* #node.always-process = false
* #sess.media = "audio"
* #audio.format = "S16BE"
@ -113,6 +115,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
"( source.ip=<source IP address, default:"DEFAULT_SOURCE_IP"> ) " \
"source.port=<int, source port> " \
"( sess.latency.msec=<target network latency, default "SPA_STRINGIFY(DEFAULT_SESS_LATENCY)"> ) "\
"( sess.ignore-ssrc=<to ignore SSRC, default false> ) "\
"( sess.media=<string, the media type audio|midi|opus, default audio> ) " \
"( audio.format=<format, default:"DEFAULT_FORMAT"> ) " \
"( audio.rate=<sample rate, default:"SPA_STRINGIFY(DEFAULT_RATE)"> ) " \
@ -497,6 +500,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
copy_props(impl, props, "sess.max-ptime");
copy_props(impl, props, "sess.latency.msec");
copy_props(impl, props, "sess.ts-direct");
copy_props(impl, props, "sess.ignore-ssrc");
str = pw_properties_get(props, "local.ifname");
impl->ifname = str ? strdup(str) : NULL;