Documentation ¶
Index ¶
- Constants
- type Client
- func (cli *Client) AddStreamChannels(streamChannelList streaming.StreamChannel) error
- func (cli *Client) DeleteSingleStreamChannel(id string) error
- func (cli *Client) DeleteStreamChannels() error
- func (cli *Client) GetIntegrate() (onvif.Integrate, error)
- func (cli *Client) GetSingleStreamChannel(id string) (streaming.StreamChannel, error)
- func (cli *Client) GetStreamChannels() ([]streaming.StreamChannel, error)
- func (cli *Client) GetTimeStreamChannels() (time_streaming.Time, error)
- func (cli *Client) PutIntegrate(ovif onvif.Integrate) error
- func (cli *Client) PutStreamChannels(streamChannelList []streaming.StreamChannel) error
- func (cli *Client) PutTimeStreamChannels(time_streaming time_streaming.Time) error
- func (cli *Client) StreamingStatus() (streaming.StreamStatus, error)
- func (cli *Client) UpdateSingleStreamChannel(id string, streamChannel streaming.StreamChannel) error
Constants ¶
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 (*Client) AddStreamChannels ¶
func (cli *Client) AddStreamChannels(streamChannelList streaming.StreamChannel) error
It is used to add a streaming channel for the device.
func (*Client) DeleteSingleStreamChannel ¶
It is used to delete a particular streaming channel for the device.
func (*Client) DeleteStreamChannels ¶
It is used to delete the list of streaming channels for the device.
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
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.