DC when start a battle from stealth

Alejandro
Level 4
7 months ago

As far as I understand, if I start a fight from stealth, the enemies roll the dice to pass the Perception checkWhat determines the DC? Same fight, same character. The difficulty can be 9 or 21.