client

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultProtocol = "http"
	DefaultHost     = "0.0.0.0"
)

*

  • @author : Donald Trieu
  • @created : 9/24/21, Friday

*

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts types.ConstructClient) (*Client, error)

func (*Client) AddStreamChannels

func (cli *Client) AddStreamChannels(streamChannelList streaming.StreamChannel) error

It is used to add a streaming channel for the device.

func (*Client) DeleteSingleStreamChannel

func (cli *Client) DeleteSingleStreamChannel(id string) error

It is used to delete a particular streaming channel for the device.

func (*Client) DeleteStreamChannels

func (cli *Client) DeleteStreamChannels() error

It is used to delete the list of streaming channels for the device.

func (*Client) GetIntegrate added in v0.0.3

func (cli *Client) GetIntegrate() (onvif.Integrate, error)

*

  • @author : Benjamin Lam
  • @created : 9/29/21, Friday

*

func (*Client) GetSingleStreamChannel

func (cli *Client) GetSingleStreamChannel(id string) (streaming.StreamChannel, error)

It is used to get the properties of a particular streaming channel for the device.

func (*Client) GetStreamChannels

func (cli *Client) GetStreamChannels() ([]streaming.StreamChannel, error)

It is used to get the properties of streaming channels for the device.

func (*Client) GetTimeStreamChannels added in v0.0.2

func (cli *Client) GetTimeStreamChannels() (time_streaming.Time, error)

It is used to get the properties of streaming channels for the device.

func (*Client) PutIntegrate added in v0.0.3

func (cli *Client) PutIntegrate(ovif onvif.Integrate) error

It is used to update the properties of streaming time for the device.

func (*Client) PutStreamChannels

func (cli *Client) PutStreamChannels(streamChannelList []streaming.StreamChannel) error

It is used to update the properties of streaming channels for the device.

func (*Client) PutTimeStreamChannels added in v0.0.2

func (cli *Client) PutTimeStreamChannels(time_streaming time_streaming.Time) error

It is used to update the properties of streaming time for the device.

func (*Client) StreamingStatus

func (cli *Client) StreamingStatus() (streaming.StreamStatus, error)

It is used to get a device streaming status.

func (*Client) UpdateSingleStreamChannel

func (cli *Client) UpdateSingleStreamChannel(id string, streamChannel streaming.StreamChannel) error

It is used to update the properties of a particular streaming channel for the device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL