Function rs2_get_stream_profiles_count

Function Documentation

int rs2_get_stream_profiles_count(const rs2_stream_profile_list *list, rs2_error **error)

get the number of supported stream profiles

Parameters:
  • list[in] the list of supported profiles returned by rs2_get_supported_profiles

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

Returns:

number of supported subdevice profiles