refactor: remove unnecessary buffer size setting for RTSP stream to improve latency
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
				
			
		
			
				
	
				Build Worker Base and Application Images / build-base (push) Has been skipped
				
			
		
			
				
	
				Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
				
			
		
			
				
	
				Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
				
			Build Worker Base and Application Images / build-base (push) Has been skipped
				
			Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
				
			Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
				
			This commit is contained in:
		
							parent
							
								
									a1e7c42fb3
								
							
						
					
					
						commit
						65b7573fed
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -269,9 +269,6 @@ class RTSPReader:
 | 
			
		|||
            # Don't force resolution/fps - let the stream determine its natural specs
 | 
			
		||||
            # The camera will provide whatever resolution/fps it supports
 | 
			
		||||
 | 
			
		||||
            # Set minimal buffer for lowest latency - single frame buffer
 | 
			
		||||
            # This ensures we always get the most recent frame
 | 
			
		||||
            self.cap.set(cv2.CAP_PROP_BUFFERSIZE, 1)
 | 
			
		||||
 | 
			
		||||
            # Set FFMPEG options for better H.264 handling
 | 
			
		||||
            self.cap.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter_fourcc(*'H264'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue