mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rtp-sink: silence some messages
This commit is contained in:
		
							parent
							
								
									2f397035b8
								
							
						
					
					
						commit
						9bf6fa05d1
					
				
					 1 changed files with 11 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -306,8 +306,17 @@ static void flush_packets(struct impl *impl)
 | 
			
		|||
			&iov[1], tosend);
 | 
			
		||||
 | 
			
		||||
		n = sendmsg(impl->rtp_fd, &msg, MSG_NOSIGNAL);
 | 
			
		||||
		if (n < 0)
 | 
			
		||||
			pw_log_warn("sendmsg() failed: %m");
 | 
			
		||||
		if (n < 0) {
 | 
			
		||||
			switch (errno) {
 | 
			
		||||
			case ECONNREFUSED:
 | 
			
		||||
			case ECONNRESET:
 | 
			
		||||
				pw_log_debug("remote end not listening");
 | 
			
		||||
				break;
 | 
			
		||||
			default:
 | 
			
		||||
				pw_log_warn("sendmsg() failed: %m");
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		impl->seq++;
 | 
			
		||||
		impl->timestamp += tosend / impl->frame_size;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue