For reducing latency I’m looking for some api that can set the control to low-latency-mode in V4l2, I got a command “v4l2-ctl --set-ctrl low_latency_mode=1” which has the capability to do that, but I’m looking for an equivalent API’s . An equivalent IOCTL api will also work’s
So basically in order to reduce latency of v4l2_src , I found out command which has ability to reduce latency v4l2-ctl --set-ctrl low_latency_mode=1 , So instead of setting low_latency_mode control via command line , I want to set it via some api. Does libv4l2 contains any IOCTL api which can do the same