Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SonySrg300 = CameraProfile{ // contains filtered or unexported fields }
Functions ¶
Types ¶
type CameraProfile ¶
type CameraProfile struct {
// contains filtered or unexported fields
}
type ViscaCamera ¶
type ViscaCamera struct {
// contains filtered or unexported fields
}
func Connect ¶
func Connect(ip string, port uint32, profile CameraProfile) (*ViscaCamera, error)
func (*ViscaCamera) Close ¶
func (vc *ViscaCamera) Close() error
func (*ViscaCamera) GetPanTilt ¶
func (vc *ViscaCamera) GetPanTilt() chan int32
Get current PanTilt position of camera Pan: -8704 to 8704 Tilt: -1024 to 4608 Speeds: 0 to 24
func (*ViscaCamera) GetZoom ¶
func (vc *ViscaCamera) GetZoom() chan uint16
Get current zoom of camera 0 to 16384
func (*ViscaCamera) PanTilt ¶
func (vc *ViscaCamera) PanTilt( panValue int32, tiltValue int32, panSpeed uint8, tiltSpeed uint8, ) chan error
Adjust PanTilt position of camera Pan: -8704 to 8704 Tilt: -1024 to 4608 Speeds: 0 to 24
func (*ViscaCamera) Zoom ¶
func (vc *ViscaCamera) Zoom( position uint16, ) chan error
Adjust zoom of camera 0 to 16384
Click to show internal directories.
Click to hide internal directories.