-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello
In #12 support was added to control camera parameters such as brightness and contrast through zedsrc
. These work fine, but is it possible to control these at runtime?
To elaborate: the properties are writeable, so I'm trying to write to them whilst the zedsrc
element is active. At first sight, the brightness and contrast don't appear to change, but if I restart the zedsrc stream (e.g. reconnect to an RTSP stream using it, which appears to shut down temporarily if no one is connected), both parameters are suddenly correctly applied.
I added debug logs to the zedsrc element to confirm that it's receiving the changes in parameters, and it is. I didn't read the source thoroughly, but is it possible that these parameters are just set once during initialization and not updated at runtime afterwards?
FWIW, v4l2src
also exposes brightness and contrast parameters, and controlling these at runtime appears to work, though I can't be sure if it's controlling the actual ZED camera or applying some sort of video filter instead.
Thanks!