In a pot, cook the sweet corn, heavy cream, and milk. Bring to a boil, then reduce to simmer for 20 minutes. Let it rest, then add vanilla and egg yolks.
In a bowl of a stand mixer fitted with the whisk attachment, whip the heavy cream and condensed milk until stiff peaks form. Add in corn mixture. Stir gently and refrigerate overnight.