All Products
Search
Document Center

:Intelligent alert event-triggered recording

Last Updated:Jul 27, 2023

Intelligent alert event-triggered recording indicates that video recording is triggered by intelligent alert events reported by IP cameras. This article describes how to enable intelligent alert event-triggered recording for an IP camera.

Prerequisites

An IoT Platform instance of the video type is purchased, and a video device is connected to IoT Platform. For more information, see Device Connection.

Device-side development

Device-side development is required when your IP camera is directly connected to IoT Platform. For more information, see Device-side development.

Cloud-side development

  1. Call the CreateTimeTemplate operation to configure a time template.

    If the call is successful, a time template ID is generated. The time template specifies a time period for recording each week. The time period is accurate to seconds.

  2. Call the CreateEventRecordPlan operation to create an intelligent alert event-triggered recording plan.

    If the call is successful, a recording plan ID is generated.

  3. Call the AddEventRecordPlanDevice operation to add the recording plan to the IP camera.

    If the IP camera detects specified events defined in the recording plan within the time period defined in the time template, the camera starts recording and uploads video files to IoT Platform.

What to do next

For more information, see Play videos stored in IoT Platform.