mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rtp: fix sess.media usage
This commit is contained in:
		
							parent
							
								
									d3896d290e
								
							
						
					
					
						commit
						a15517851e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1738,6 +1738,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
	impl->ttl = pw_properties_get_uint32(props, "net.ttl", DEFAULT_TTL);
 | 
			
		||||
	impl->mcast_loop = pw_properties_get_bool(props, "net.loop", DEFAULT_LOOP);
 | 
			
		||||
 | 
			
		||||
	str = pw_properties_get(stream_props, "sess.media");
 | 
			
		||||
 | 
			
		||||
	if (spa_streq(str, "audio")) {
 | 
			
		||||
		struct spa_dict_item items[] = {
 | 
			
		||||
			{ "audio.format", DEFAULT_FORMAT },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue