Function rs2_is_stream_profile_default

Function Documentation

int rs2_is_stream_profile_default(const rs2_stream_profile *mode, rs2_error **error)

Returns non-zero if selected profile is recommended for the sensor This is an optional hint we offer to suggest profiles with best performance-quality tradeof

Parameters:
  • mode[in] input stream profile

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

non-zero if selected profile is recommended for the sensor