Does spices like black pepper impart their flavour to vinegar better, when hot?

I was thinking of recipes for pickled red onions, and i see some boil, and others not boil their brine. i was curious about how the flavour of spices impart in the brine, depending on start temperature.