Skip to main content
Skip table of contents

How to Start and Stop Recording Events

Starting and stopping the recording of events using Python Sample

  • Download the corresponding python sample

cameras_event_processing_events.py

  • To begin recording events call cameras_event_processing_events.py with the parameter record_stat=on.

    CODE
    python3 ./cameras_event_processing_events.py -access_token sdafasdfasdfasdfasdfasrwecsdcsdf= -ename motion -record_stat on

    Where access_token is the camera’s access token and ename is the name of the event.

  • To stop recording events call cameras_event_processing_events.py with the parameter record_stat=off.

    CODE
    python3 ./cameras_event_processing_events.py -access_token sdafasdfasdfasdfasdfasrwecsdcsdf= -ename motion -record_stat off

    Where access_token is the camera’s access token and ename is the name of the event.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.