View Source Hikvision.ContentManagement (HikvisionClient v0.1.1)

Content management operations

Link to this section Summary

Functions

Download video footage.

Search content in the device

Link to this section Functions

Link to this function

download(playback_uri, destination)

View Source
@spec download(binary(), Path.t()) :: Hikvision.Operation.t()

Download video footage.

A playback URI must be supplied to download the resource, the URI can be obtained from the response of Hikvision.ContentManagement.search/2 function

Link to this function

search(channel, opts \\ [])

View Source
@spec search(integer(), Keyword.t()) :: Hikvision.Operation.t()

Search content in the device

It acceps the following options:

  • id - the search id, useful to do pagination. Default, a random uuid
  • resource_type - where to search for the content, it can be stream, sub_stream or picture. Defaults to stream
  • start_time - filter out content less than this time. Defaults to current datetime
  • end_time - filter out content after this time. Defaults to current datetime
  • offset - the offset to the search, defaults to 0
  • limit - the max number of items to return, defaults to 64
@spec search_profile() :: Hikvision.Operation.t()