mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rtp: don't use sap port as src port
We bind to the src addr (the interface addr) and so we need a new unused port.
This commit is contained in:
		
							parent
							
								
									eaaa0cd99e
								
							
						
					
					
						commit
						4bb85ef6c9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1489,7 +1489,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if ((res = parse_address(str, port, &impl->src_addr, &impl->src_len)) < 0) {
 | 
			
		||||
	if ((res = parse_address(str, 0, &impl->src_addr, &impl->src_len)) < 0) {
 | 
			
		||||
		pw_log_error("invalid source.ip %s: %s", str, spa_strerror(res));
 | 
			
		||||
		goto out;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue