Foscam FI9821P config in zoneminder 1.32.3
To configure a Foscam FI9821P in the most recent zoneminder v1.32.3, use the following parameters in the source config:
source: rtsp://<user>:<pass>@<ip>:<port>/videoMain
method:tcp
color: 32
width 1280
height 720
These params allowed zoneminder to hook up to the camera and monitor video. There was a preset for this camera, but it did not seem to work, and the ONVIF auto-config errored out for some reason.