ptz

package
v0.0.0-...-ef65237 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsoluteMove

func AbsoluteMove(ctx context.Context, cli *client.Client, request ptz.AbsoluteMove) (ptz.AbsoluteMoveResponse, error)

AbsoluteMove forwards the call to cli.CallMethod() then parses the payload of the reply as a AbsoluteMoveResponse.

func ContinuousMove

func ContinuousMove(ctx context.Context, cli *client.Client, request ptz.ContinuousMove) (ptz.ContinuousMoveResponse, error)

ContinuousMove forwards the call to cli.CallMethod() then parses the payload of the reply as a ContinuousMoveResponse.

func CreatePresetTour

func CreatePresetTour(ctx context.Context, cli *client.Client, request ptz.CreatePresetTour) (ptz.CreatePresetTourResponse, error)

CreatePresetTour forwards the call to cli.CallMethod() then parses the payload of the reply as a CreatePresetTourResponse.

func GeoMove

func GeoMove(ctx context.Context, cli *client.Client, request ptz.GeoMove) (ptz.GeoMoveResponse, error)

GeoMove forwards the call to cli.CallMethod() then parses the payload of the reply as a GeoMoveResponse.

func GetCompatibleConfigurations

func GetCompatibleConfigurations(ctx context.Context, cli *client.Client, request ptz.GetCompatibleConfigurations) (ptz.GetCompatibleConfigurationsResponse, error)

GetCompatibleConfigurations forwards the call to cli.CallMethod() then parses the payload of the reply as a GetCompatibleConfigurationsResponse.

func GetConfiguration

func GetConfiguration(ctx context.Context, cli *client.Client, request ptz.GetConfiguration) (ptz.GetConfigurationResponse, error)

GetConfiguration forwards the call to cli.CallMethod() then parses the payload of the reply as a GetConfigurationResponse.

func GetConfigurationOptions

func GetConfigurationOptions(ctx context.Context, cli *client.Client, request ptz.GetConfigurationOptions) (ptz.GetConfigurationOptionsResponse, error)

GetConfigurationOptions forwards the call to cli.CallMethod() then parses the payload of the reply as a GetConfigurationOptionsResponse.

func GetConfigurations

func GetConfigurations(ctx context.Context, cli *client.Client, request ptz.GetConfigurations) (ptz.GetConfigurationsResponse, error)

GetConfigurations forwards the call to cli.CallMethod() then parses the payload of the reply as a GetConfigurationsResponse.

func GetNode

func GetNode(ctx context.Context, cli *client.Client, request ptz.GetNode) (ptz.GetNodeResponse, error)

GetNode forwards the call to cli.CallMethod() then parses the payload of the reply as a GetNodeResponse.

func GetNodes

func GetNodes(ctx context.Context, cli *client.Client, request ptz.GetNodes) (ptz.GetNodesResponse, error)

GetNodes forwards the call to cli.CallMethod() then parses the payload of the reply as a GetNodesResponse.

func GetPresetTour

func GetPresetTour(ctx context.Context, cli *client.Client, request ptz.GetPresetTour) (ptz.GetPresetTourResponse, error)

GetPresetTour forwards the call to cli.CallMethod() then parses the payload of the reply as a GetPresetTourResponse.

func GetPresetTourOptions

func GetPresetTourOptions(ctx context.Context, cli *client.Client, request ptz.GetPresetTourOptions) (ptz.GetPresetTourOptionsResponse, error)

GetPresetTourOptions forwards the call to cli.CallMethod() then parses the payload of the reply as a GetPresetTourOptionsResponse.

func GetPresetTours

func GetPresetTours(ctx context.Context, cli *client.Client, request ptz.GetPresetTours) (ptz.GetPresetToursResponse, error)

GetPresetTours forwards the call to cli.CallMethod() then parses the payload of the reply as a GetPresetToursResponse.

func GetPresets

func GetPresets(ctx context.Context, cli *client.Client, request ptz.GetPresets) (ptz.GetPresetsResponse, error)

GetPresets forwards the call to cli.CallMethod() then parses the payload of the reply as a GetPresetsResponse.

func GetServiceCapabilities

func GetServiceCapabilities(ctx context.Context, cli *client.Client, request ptz.GetServiceCapabilities) (ptz.GetServiceCapabilitiesResponse, error)

GetServiceCapabilities forwards the call to cli.CallMethod() then parses the payload of the reply as a GetServiceCapabilitiesResponse.

func GetStatus

func GetStatus(ctx context.Context, cli *client.Client, request ptz.GetStatus) (ptz.GetStatusResponse, error)

GetStatus forwards the call to cli.CallMethod() then parses the payload of the reply as a GetStatusResponse.

func GotoHomePosition

func GotoHomePosition(ctx context.Context, cli *client.Client, request ptz.GotoHomePosition) (ptz.GotoHomePositionResponse, error)

GotoHomePosition forwards the call to cli.CallMethod() then parses the payload of the reply as a GotoHomePositionResponse.

func GotoPreset

func GotoPreset(ctx context.Context, cli *client.Client, request ptz.GotoPreset) (ptz.GotoPresetResponse, error)

GotoPreset forwards the call to cli.CallMethod() then parses the payload of the reply as a GotoPresetResponse.

func ModifyPresetTour

func ModifyPresetTour(ctx context.Context, cli *client.Client, request ptz.ModifyPresetTour) (ptz.ModifyPresetTourResponse, error)

ModifyPresetTour forwards the call to cli.CallMethod() then parses the payload of the reply as a ModifyPresetTourResponse.

func MoveAndStartTracking

func MoveAndStartTracking(ctx context.Context, cli *client.Client, request ptz.MoveAndStartTracking) (ptz.MoveAndStartTrackingResponse, error)

MoveAndStartTracking forwards the call to cli.CallMethod() then parses the payload of the reply as a MoveAndStartTrackingResponse.

func OperatePresetTour

func OperatePresetTour(ctx context.Context, cli *client.Client, request ptz.OperatePresetTour) (ptz.OperatePresetTourResponse, error)

OperatePresetTour forwards the call to cli.CallMethod() then parses the payload of the reply as a OperatePresetTourResponse.

func RelativeMove

func RelativeMove(ctx context.Context, cli *client.Client, request ptz.RelativeMove) (ptz.RelativeMoveResponse, error)

RelativeMove forwards the call to cli.CallMethod() then parses the payload of the reply as a RelativeMoveResponse.

func RemovePreset

func RemovePreset(ctx context.Context, cli *client.Client, request ptz.RemovePreset) (ptz.RemovePresetResponse, error)

RemovePreset forwards the call to cli.CallMethod() then parses the payload of the reply as a RemovePresetResponse.

func RemovePresetTour

func RemovePresetTour(ctx context.Context, cli *client.Client, request ptz.RemovePresetTour) (ptz.RemovePresetTourResponse, error)

RemovePresetTour forwards the call to cli.CallMethod() then parses the payload of the reply as a RemovePresetTourResponse.

func SendAuxiliaryCommand

func SendAuxiliaryCommand(ctx context.Context, cli *client.Client, request ptz.SendAuxiliaryCommand) (ptz.SendAuxiliaryCommandResponse, error)

SendAuxiliaryCommand forwards the call to cli.CallMethod() then parses the payload of the reply as a SendAuxiliaryCommandResponse.

func SetConfiguration

func SetConfiguration(ctx context.Context, cli *client.Client, request ptz.SetConfiguration) (ptz.SetConfigurationResponse, error)

SetConfiguration forwards the call to cli.CallMethod() then parses the payload of the reply as a SetConfigurationResponse.

func SetHomePosition

func SetHomePosition(ctx context.Context, cli *client.Client, request ptz.SetHomePosition) (ptz.SetHomePositionResponse, error)

SetHomePosition forwards the call to cli.CallMethod() then parses the payload of the reply as a SetHomePositionResponse.

func SetPreset

func SetPreset(ctx context.Context, cli *client.Client, request ptz.SetPreset) (ptz.SetPresetResponse, error)

SetPreset forwards the call to cli.CallMethod() then parses the payload of the reply as a SetPresetResponse.

func Stop

func Stop(ctx context.Context, cli *client.Client, request ptz.Stop) (ptz.StopResponse, error)

Stop forwards the call to cli.CallMethod() then parses the payload of the reply as a StopResponse.

Types

type Device

type Device struct {
	Address  string        `json:"address"`
	Username string        `json:"username"`
	Password string        `json:"password"`
	Timeout  time.Duration `json:"timeout"`
	Describe string        `json:"describe"`
}

Jump to

Keyboard shortcuts

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