Speed of dahua ip camera in HA + HomeKit

I got a problem with my dahua ip camera. (DHI-NVR5216-4KS2)
I added the camera integration in HA with the rtsp url that in my case is:
Settings: UDP, 30Hz and ‘preload the camera stream’
The cameras works fine in the dashboard of HA but in HomeKit they load about every 10 seconds
HA is installed with VirtualBox in my MacBook.

Can you help me please?