Merge "Add a flag to enable the `setFrameRate` callback." into main