I had the same issue. I was trying to add the stream under alprdconfig and it would crash.
I went to the web broswer and did the following:
Configuration -> Agents -> Configure -> Add Stream -> Camera Stream Config -> Dahua
-Enter ip address of camera
-Check box for Use credential
-Enter Username and password
-Leave Generic as connection strategy
My problem at this point is it would only locate the D1 stream and not my 1080 stream.
I had to play with channel and subtype until I located the correct stream as the following:
hope this helps you.