axis

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

axis

golang library to control axis cameras (P5414-E Network Camera)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P5414E

type P5414E struct {
	Address       string
	StreamProfile string
}

func (*P5414E) GoToPreset

func (c *P5414E) GoToPreset(ctx context.Context, preset string) error

func (*P5414E) PanLeft

func (c *P5414E) PanLeft(ctx context.Context) error

func (*P5414E) PanRight

func (c *P5414E) PanRight(ctx context.Context) error

func (*P5414E) PanTilt

func (c *P5414E) PanTilt(ctx context.Context, panSpeed int, tiltSpeed int) error

func (*P5414E) PanTiltStop

func (c *P5414E) PanTiltStop(ctx context.Context) error

func (*P5414E) RemoteAddr added in v0.4.0

func (c *P5414E) RemoteAddr() string

func (*P5414E) Snapshot added in v0.2.0

func (c *P5414E) Snapshot(ctx context.Context) (image.Image, error)

func (*P5414E) Stream

func (c *P5414E) Stream(ctx context.Context) (chan image.Image, chan error, error)

func (*P5414E) StreamJPEG added in v0.4.0

func (c *P5414E) StreamJPEG(ctx context.Context) (chan []byte, chan error, error)

func (*P5414E) TiltDown

func (c *P5414E) TiltDown(ctx context.Context) error

func (*P5414E) TiltUp

func (c *P5414E) TiltUp(ctx context.Context) error

func (*P5414E) Zoom

func (c *P5414E) Zoom(ctx context.Context, speed int) error

func (*P5414E) ZoomIn

func (c *P5414E) ZoomIn(ctx context.Context) error

func (*P5414E) ZoomOut

func (c *P5414E) ZoomOut(ctx context.Context) error

func (*P5414E) ZoomStop

func (c *P5414E) ZoomStop(ctx context.Context) error

type V5915 added in v0.3.0

type V5915 struct {
	Address       string
	StreamProfile string
}

func (*V5915) GoToPreset added in v0.3.0

func (c *V5915) GoToPreset(ctx context.Context, preset string) error

func (*V5915) PanLeft added in v0.3.0

func (c *V5915) PanLeft(ctx context.Context) error

func (*V5915) PanRight added in v0.3.0

func (c *V5915) PanRight(ctx context.Context) error

func (*V5915) PanTilt added in v0.3.0

func (c *V5915) PanTilt(ctx context.Context, panSpeed int, tiltSpeed int) error

func (*V5915) PanTiltStop added in v0.3.0

func (c *V5915) PanTiltStop(ctx context.Context) error

func (*V5915) RemoteAddr added in v0.4.0

func (c *V5915) RemoteAddr() string

func (*V5915) Stream added in v0.3.0

func (c *V5915) Stream(ctx context.Context) (chan image.Image, chan error, error)

func (*V5915) StreamJPEG added in v0.4.0

func (c *V5915) StreamJPEG(ctx context.Context) (chan []byte, chan error, error)

func (*V5915) TiltDown added in v0.3.0

func (c *V5915) TiltDown(ctx context.Context) error

func (*V5915) TiltUp added in v0.3.0

func (c *V5915) TiltUp(ctx context.Context) error

func (*V5915) Zoom added in v0.3.0

func (c *V5915) Zoom(ctx context.Context, speed int) error

func (*V5915) ZoomIn added in v0.3.0

func (c *V5915) ZoomIn(ctx context.Context) error

func (*V5915) ZoomOut added in v0.3.0

func (c *V5915) ZoomOut(ctx context.Context) error

func (*V5915) ZoomStop added in v0.3.0

func (c *V5915) ZoomStop(ctx context.Context) error

Jump to

Keyboard shortcuts

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