Documentation ¶
Index ¶
- Constants
- Variables
- func DownloadSnapshotBind(plugin *plugin) func(entityId string) string
- func GetSnapshotUriBind(plugin *plugin) func(entityId string) string
- func New() plugins.Pluggable
- func NewActions() map[string]plugins.ActorAction
- func NewAttr() m.Attributes
- func NewSettings() map[string]*m.Attribute
- func NewStates() (states map[string]plugins.ActorState)
- type Actor
- type Client
- func (s *Client) ContinuousMove(X, Y float32) error
- func (s *Client) GetCapabilities() error
- func (s *Client) GetSnapshotURI() *string
- func (s *Client) GetStreamList() ([]string, error)
- func (s *Client) Shutdown() (err error)
- func (s *Client) Start(username, password, address string, port int64, requireAuthorization bool) (err error)
- func (s *Client) StopContinuousMove() error
- type ClientBind
- type ConnectionStatus
- type MotionAlarm
- type StreamList
Constants ¶
View Source
const ( // Name ... Name = "onvif" // FuncEntityAction ... FuncEntityAction = "entityAction" AttrAddress = "address" AttrOnvifPort = "onvifPort" AttrRtspPort = "rtspPort" AttrUserName = "userName" AttrPassword = "password" AttrConnected = "connected" AttrOffline = "offline" AttrRequireAuthorization = "requireAuthorization" AttrMotion = "motion" AttrMotionTime = "motionTime" ActionContinuousMove = "continuousMove" ActionStopContinuousMove = "stopContinuousMove" )
Variables ¶
View Source
var F embed.FS
Functions ¶
func DownloadSnapshotBind ¶
experimental method ...
func GetSnapshotUriBind ¶
func NewActions ¶
func NewActions() map[string]plugins.ActorAction
Types ¶
type Actor ¶
type Actor struct { *supervisor.BaseActor // contains filtered or unexported fields }
Actor ...
func (*Actor) GetSnapshotUri ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ContinuousMove ¶
func (*Client) GetCapabilities ¶
func (*Client) GetSnapshotURI ¶
func (*Client) GetStreamList ¶
func (*Client) StopContinuousMove ¶
type ClientBind ¶
type ClientBind struct {
// contains filtered or unexported fields
}
func NewClientBind ¶
func NewClientBind(client *Client) *ClientBind
func (*ClientBind) ContinuousMove ¶
func (c *ClientBind) ContinuousMove(X, Y float32)
func (*ClientBind) StopContinuousMove ¶
func (c *ClientBind) StopContinuousMove()
type ConnectionStatus ¶
type ConnectionStatus struct {
Connected bool
}
type MotionAlarm ¶
type StreamList ¶
Click to show internal directories.
Click to hide internal directories.