Screen mirroring from iPhone

I am trying to mirror my iPhone 11 screen onto a Dell display using an HDMI cable. I get the image displayed but this is cutting off the sound automatically. Anyone knows how to avoid that?