mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	TODO: module-rtp: buffering for sender
This should be done to match packet size requirements (e.g. 1 ms) while allowing user's software to run at higher buffer size to not stutter. This will require scheduling multiple rtp_audio_flush_packets calls per one rtp_audio_process_capture call
This commit is contained in:
		
							parent
							
								
									066e8e1c63
								
							
						
					
					
						commit
						065e819f18
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -452,6 +452,7 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
 | 
			
		|||
 | 
			
		||||
	pw_properties_setf(props, PW_KEY_NODE_RATE, "1/%d", impl->rate);
 | 
			
		||||
	if (direction == PW_DIRECTION_INPUT) {
 | 
			
		||||
		// TODO: make sess.latency.msec work for sender streams
 | 
			
		||||
		pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%d/%d",
 | 
			
		||||
				impl->psamples, impl->rate);
 | 
			
		||||
	} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue