View Source Hikvision.Streaming (HikvisionClient v0.1.0)

Streaming operations

Link to this section Summary

Functions

Get encoding configuration of a channel

Get encoding configuration of the available channels

Get a picture from a live feed.

Link to this section Types

@type channel() :: integer() | binary()

Link to this section Functions

@spec channel(channel()) :: Hikvision.Operation.t()

Get encoding configuration of a channel

@spec channels() :: Hikvision.Operation.t()

Get encoding configuration of the available channels

Link to this function

snapshot(channel, opts \\ [])

View Source
@spec snapshot(channel(), Keyword.t()) :: Hikvision.Operation.t()

Get a picture from a live feed.

The channel is ignored by ISAPI when the device is a Camera. Otherwise it must be supplied in the hundred format (e.g. 201 second channel, main stream. 102 first channel, sub stream)

The following options can be supplied:

  • width - The width of the picture, it's only working with NVR
  • height - The height of the picture, it's only working with NVR