aravis
aravis copied to clipboard
DeviceLinkThroughput features need helpers in ArvCamer API
Is your feature request related to a problem? Please describe.
I am using an Allied Vision Alvium 1800U camera and the function arv_camera_uv_is_bandwidth_control_available() always returns false while arv_camera_uv_set_bandwidth() works as expected.
Which is expected given the source code: https://github.com/AravisProject/aravis/blob/b303b11ecc534745390624005db803417e89a92a/src/arvcamera.c#L3036-L3040
Describe the solution you'd like
The function arv_camera_uv_is_bandwidth_control_available() should return true with all USB cameras with the DeviceLinkThroughputLimitfeature.
Is there a particular reason it is not the case?
Describe alternatives you've considered
I can call arv_camera_is_feature_available(camera, "DeviceLinkThroughputLimit", error) directly in my application but the arv_camera helpers are nicer to use.
There is no reason for access to DeviceLinkThroughput feature to be limited to USB3 device, and even less to Ximea devices.
We should implement some helpers around this features, and deprecate bandwith_control API.