The document is a good reference and starting point; your mileage may very. Start with the suggested value and see if the video is adequate or needs more, or less, data for desired clarity.
Lets focus on the initial issue/problem and not introduce any new/unknowns for the moment.
Once the system is operating normally, you can try additional configuration permutations. However, with that said...
H.264 and Intel HA has been very successful for most users; minimal issues
H.264+ and Intel HA has been known to work; some issues but infrequent
H.265 or H.265+ HA cannot be implemented as H.265 has its own compression techniques that dont play well with anything else.
My HikVision camers played well with H.264+ and Intel HA with CBR; not so good with VBR... VBR would record ok until there was motion, then the video would have long trails. I don't have any knowledge of how Dahua H.264+ and Intel HA combination might perform.