mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rtp: support sess.ignore-ssrc globally
This commit is contained in:
		
							parent
							
								
									126e03ec73
								
							
						
					
					
						commit
						48a892aeec
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -52,6 +52,7 @@
 | 
				
			||||||
 * - `source.port = <int>`: the source port
 | 
					 * - `source.port = <int>`: the source port
 | 
				
			||||||
 * - `node.always-process = <bool>`: true to receive even when not running
 | 
					 * - `node.always-process = <bool>`: true to receive even when not running
 | 
				
			||||||
 * - `sess.latency.msec = <str>`: target network latency in milliseconds, default 100
 | 
					 * - `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
 | 
					 * - `sess.media = <string>`: the media type audio|midi|opus, default audio
 | 
				
			||||||
 * - `stream.props = {}`: properties to be passed to the stream
 | 
					 * - `stream.props = {}`: properties to be passed to the stream
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					@ -81,6 +82,7 @@
 | 
				
			||||||
 *         #source.ip = 224.0.0.56
 | 
					 *         #source.ip = 224.0.0.56
 | 
				
			||||||
 *         #source.port = 0
 | 
					 *         #source.port = 0
 | 
				
			||||||
 *         sess.latency.msec = 100
 | 
					 *         sess.latency.msec = 100
 | 
				
			||||||
 | 
					 *         #sess.ignore-ssrc = false
 | 
				
			||||||
 *         #node.always-process = false
 | 
					 *         #node.always-process = false
 | 
				
			||||||
 *         #sess.media = "audio"
 | 
					 *         #sess.media = "audio"
 | 
				
			||||||
 *         #audio.format = "S16BE"
 | 
					 *         #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.ip=<source IP address, default:"DEFAULT_SOURCE_IP"> ) "				\
 | 
				
			||||||
 		"source.port=<int, source port> "								\
 | 
					 		"source.port=<int, source port> "								\
 | 
				
			||||||
		"( sess.latency.msec=<target network latency, default "SPA_STRINGIFY(DEFAULT_SESS_LATENCY)"> ) "\
 | 
							"( 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> ) "			\
 | 
					 		"( sess.media=<string, the media type audio|midi|opus, default audio> ) "			\
 | 
				
			||||||
		"( audio.format=<format, default:"DEFAULT_FORMAT"> ) "						\
 | 
							"( audio.format=<format, default:"DEFAULT_FORMAT"> ) "						\
 | 
				
			||||||
		"( audio.rate=<sample rate, default:"SPA_STRINGIFY(DEFAULT_RATE)"> ) "				\
 | 
							"( 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.max-ptime");
 | 
				
			||||||
	copy_props(impl, props, "sess.latency.msec");
 | 
						copy_props(impl, props, "sess.latency.msec");
 | 
				
			||||||
	copy_props(impl, props, "sess.ts-direct");
 | 
						copy_props(impl, props, "sess.ts-direct");
 | 
				
			||||||
 | 
						copy_props(impl, props, "sess.ignore-ssrc");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	str = pw_properties_get(props, "local.ifname");
 | 
						str = pw_properties_get(props, "local.ifname");
 | 
				
			||||||
	impl->ifname = str ? strdup(str) : NULL;
 | 
						impl->ifname = str ? strdup(str) : NULL;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue