Azure-Kinect-Sensor-SDK
Azure-Kinect-Sensor-SDK copied to clipboard
Method for Validating Device Configurations
Is your feature request related to a problem? Please describe.
I'm currently creating a multi-device viewer for Azure Kinect Cameras where users can save and load device configurations. However, the Azure SDK currently seems to only validate configurations upon streaming. I.e., there's no way for me to validate a user's requested configuration for a device and display a message if it is invalid. Thus, if 1 of 3 devices has an invalid configuration, the other 2 with valid configurations will still begin streaming.
Describe the solution you'd like
I wish I could call a function such as validate_configuration, which already exists in k4a.c, to validate configurations before commencing streaming.
Describe alternatives you've considered
I could and will likely copy all of validate_configuration to my own code. However, since this function already exists in the SDK, it seems like this change would be harmless and positive addition to the SDK requiring minimal effort.
Additional context
Perhaps I am missing something, as I was surprised to find that no one else has made this request already. Please forgive me if I have missed something extremely obvious!