dev #17
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