First, the home automation system requirements need to be considered. Either H.264 or MJPG are available from the IC Realtime equipment. As of this writing, some home automation companies are able to use H.264, but most home automation systems still utilize MJPG streams.
For MJPG setup:
The firmware needs to be at the minimum required version to function correctly.
We configure the camera to use H.264 on the main stream for recording to the recorder (DVR/NVR/Software).
The 2nd stream (or extra stream) is configured to MJPG around D1 5fps 2MB streams, for the automation systems.
For H.264 setup:
H.264 over IP does not require any additional setup. Both streams are default on H.264. The desired resolution needs to be set in the devices encode menu.
If you are utilizing a driver, simply input the required information. If not utilizing a driver, build the RTSP string for the feed from the information below (Streaming video over IP troubleshooting H.264 section).
For MJPG setup
We can use the following command to test the device feed.
The subtype= is the stream 0 for main 1 for extra
If the mainstream changes to MJPG, the firmware needs to be updated.
The following command is used to retrieve the camera snapshot.
For H.264 setup
We can use the following command to test the device feed. Change the IP address and test the string with something like VLC.
Change the IP address and port to match the camera/recorder.
IPC with credentials included
Recorder with credentials included
The subtype= is the stream. 0 for main or 1 for extra.
The channel= is the channel #. In IPCs, the # will always be 1.
The authbasic= is the username:password in base64
(E.g. admin:admin converts to YWRtaW46YWRtaW4=)