I walked through all of these mods, (have not upgraded version yet) and basically the only one that made much of any difference was adding the sub stream. I didn't really know how to do that so I just copied the main stream and changed the number from 0 to 1 and that seemed to work. These were all Dahua cameras, some set up by BI as a Dahua and some as generic so I had two different paths.
/cam/realmonitor?channel=1&
subtype=0&unicast=true&proto=Onvif
and channel={CAMNO}&
subtype=0&authbasic={AUTH64}&proto=Onvif
Changed to
/cam/realmonitor?channel=1&
subtype=1&unicast=true&proto=Onvif
and channel={CAMNO}&
subtype=1&authbasic={AUTH64}&proto=Onvif
Does that look right? Anything else in the string need to change?
It seemed to work and CPU dropped from 79-99% down to 25%!!
Still using almost 4GB memory though?!
I have a couple of older other brand cameras, (American Dynamics) ...no idea what the sub-stream string should be. Is there a list of substrings by mfg out there somewhere?
I tried downloading and running that ONVIF manager mentioned above that will supposedly find and show all kinds of info about each camera on your network but it doesn't do anything and no instructions on how to work it...Their web site was in Russian.