AravisProject / aravis

A vision library for genicam based cameras
GNU Lesser General Public License v2.1
840 stars 316 forks source link

Better documentation, error messages, defaults regarding the gige socket-buffer-size #898

Open dkogan opened 2 months ago

dkogan commented 2 months ago

These are the result of me encountering and debugging packet-dropping issues: https://github.com/AravisProject/aravis/issues/894

Primarily these patches add more error reporting and documentation. With the extended error messages I think it makes sense to change the default socket-buffer policy to ARV_GV_STREAM_SOCKET_BUFFER_AUTO, which this patch series does.

There's one more thing I would change also, but want to get your thoughts about all this first:

If setsockopt() returns success, but doesn't actually give us the requested buffer, we currently:

Thanks much

EmmanuelP commented 2 weeks ago

Hi,

Sorry for being late reviewing this merge request. Be patient, I will dedicate some time to aravis this summer.