generatedsignaling

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PtzCommandMethodValues = []any{"PTZ.Pan.Step", "PTZ.Pan.Continuous", "PTZ.Tilt.Step", "PTZ.Tilt.Continuous"}
View Source
var PtzDirectionValues = []any{"LEFT", "RIGHT", "UP", "DOWN"}

Functions

This section is empty.

Types

type IceCandidateBody

type IceCandidateBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	Ice                  string                 `json:"ice" binding:"required"`
	Mlineindex           int                    `json:"mlineindex" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type IceCandidateFrame

type IceCandidateFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *IceCandidateBody      `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveAnswerBody

type LiveAnswerBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	Sdp                  string                 `json:"sdp" binding:"required"`
	SessionInfo          *LiveAnswerInfo        `json:"session_info" binding:"required"`
	ReservedType         string                 `json:"type" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveAnswerFrame

type LiveAnswerFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *LiveAnswerBody        `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveAnswerInfo

type LiveAnswerInfo struct {
	SessionId            string                 `json:"session_id" binding:"required"`
	PingInterval         int                    `json:"ping_interval,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveIceBody

type LiveIceBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	Ice                  string                 `json:"ice" binding:"required"`
	Mid                  string                 `json:"mid" binding:"required"`
	Mlineindex           int                    `json:"mlineindex" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveIceFrame

type LiveIceFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *LiveIceBody           `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveStreamOptions

type LiveStreamOptions struct {
	AudioEnabled         bool                   `json:"audio_enabled,omitempty"`
	VideoEnabled         bool                   `json:"video_enabled,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveViewBody

type LiveViewBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	Sdp                  string                 `json:"sdp" binding:"required"`
	StreamOptions        *LiveStreamOptions     `json:"stream_options" binding:"required"`
	ReservedType         string                 `json:"type" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type LiveViewFrame

type LiveViewFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Body                 *LiveViewBody          `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackAnswerBody

type PlaybackAnswerBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	ReservedType         string                 `json:"type" binding:"required"`
	Sdp                  string                 `json:"sdp" binding:"required"`
	SessionInfo          *PlaybackSessionInfo   `json:"session_info,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackAnswerFrame

type PlaybackAnswerFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PlaybackAnswerBody    `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackCloseBody

type PlaybackCloseBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	Reason               *PlaybackCloseReason   `json:"reason" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackCloseFrame

type PlaybackCloseFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PlaybackCloseBody     `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackCloseReason

type PlaybackCloseReason struct {
	Code                 int                    `json:"code" binding:"required"`
	Text                 string                 `json:"text" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackOfferBody

type PlaybackOfferBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	EntryPoint           string                 `json:"entry_point" binding:"required"`
	Sdp                  string                 `json:"sdp" binding:"required"`
	ReservedType         string                 `json:"type" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackOfferFrame

type PlaybackOfferFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PlaybackOfferBody     `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PlaybackSessionInfo

type PlaybackSessionInfo struct {
	PingInterval         int                    `json:"ping_interval,omitempty"`
	Region               string                 `json:"region,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PtzCommandBody

type PtzCommandBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	Command              *PtzWireCommand        `json:"command" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PtzCommandFrame

type PtzCommandFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PtzCommandBody        `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PtzCommandMethod

type PtzCommandMethod uint
const (
	PtzCommandMethodPtzDotPanDotStep PtzCommandMethod = iota
	PtzCommandMethodPtzDotPanDotContinuous
	PtzCommandMethodPtzDotTiltDotStep
	PtzCommandMethodPtzDotTiltDotContinuous
)

func (PtzCommandMethod) MarshalJSON

func (op PtzCommandMethod) MarshalJSON() ([]byte, error)

func (*PtzCommandMethod) UnmarshalJSON

func (op *PtzCommandMethod) UnmarshalJSON(raw []byte) error

func (PtzCommandMethod) Value

func (op PtzCommandMethod) Value() any

Value returns the value of the enum.

type PtzDirection

type PtzDirection uint
const (
	PtzDirectionLeft PtzDirection = iota
	PtzDirectionRight
	PtzDirectionUp
	PtzDirectionDown
)

func (PtzDirection) MarshalJSON

func (op PtzDirection) MarshalJSON() ([]byte, error)

func (*PtzDirection) UnmarshalJSON

func (op *PtzDirection) UnmarshalJSON(raw []byte) error

func (PtzDirection) Value

func (op PtzDirection) Value() any

Value returns the value of the enum.

type PtzWireCommand

type PtzWireCommand struct {
	Jsonrpc              string                 `json:"jsonrpc" binding:"required"`
	Id                   string                 `json:"id" binding:"required"`
	Method               *PtzCommandMethod      `json:"method" binding:"required"`
	Params               *PtzWireParams         `json:"params" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PtzWireParams

type PtzWireParams struct {
	SessionId            string                 `json:"sessionId" binding:"required"`
	Timestamp            int                    `json:"timestamp" binding:"required"`
	Version              int                    `json:"version" binding:"required"`
	Direction            *PtzDirection          `json:"direction" binding:"required"`
	Speed                float64                `json:"speed,omitempty"`
	Reason               string                 `json:"reason,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushEventBody

type PushEventBody struct {
	FilterIdentifiers    []string               `json:"filter_identifiers,omitempty"`
	IngestionTimeMs      int                    `json:"ingestion_time_ms,omitempty"`
	NotificationScope    string                 `json:"notification_scope" binding:"required"`
	NotificationType     string                 `json:"notification_type" binding:"required"`
	Payload              *PushEventPayload      `json:"payload" binding:"required"`
	SubscriptionId       string                 `json:"subscription_id" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushEventFrame

type PushEventFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PushEventBody         `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushEventPayload

type PushEventPayload struct {
	DeviceId             string                 `json:"device_id,omitempty"`
	LocationId           string                 `json:"location_id,omitempty"`
	StartTime            string                 `json:"start_time,omitempty"`
	EndTime              string                 `json:"end_time,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushFilter

type PushFilter struct {
	FilterIdentifier     string                 `json:"filter_identifier" binding:"required"`
	Filters              *PushFilters           `json:"filters" binding:"required"`
	NotificationScope    string                 `json:"notification_scope" binding:"required"`
	NotificationType     string                 `json:"notification_type" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushFilters

type PushFilters struct {
	DoorbotIds           []int                  `json:"doorbot_ids,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushHeartbeatFrame

type PushHeartbeatFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PushSubscriptionBody  `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushSubscribeBody

type PushSubscribeBody struct {
	RequestedNotifications []PushFilter           `json:"requested_notifications" binding:"required"`
	AdditionalProperties   map[string]interface{} `json:"-,omitempty"`
}

type PushSubscribeFrame

type PushSubscribeFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PushSubscribeBody     `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushSubscriptionAckBody

type PushSubscriptionAckBody struct {
	Status               string                 `json:"status" binding:"required"`
	SubscriptionId       string                 `json:"subscription_id" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushSubscriptionAckFrame

type PushSubscriptionAckFrame struct {
	Method               string                   `json:"method" binding:"required"`
	DialogId             string                   `json:"dialog_id" binding:"required"`
	Riid                 string                   `json:"riid,omitempty"`
	Body                 *PushSubscriptionAckBody `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{}   `json:"-,omitempty"`
}

type PushSubscriptionBody

type PushSubscriptionBody struct {
	SubscriptionId       string                 `json:"subscription_id" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type PushUnsubscribeFrame

type PushUnsubscribeFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *PushSubscriptionBody  `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionBody

type SessionBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionCreatedBody

type SessionCreatedBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionCreatedFrame

type SessionCreatedFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *SessionCreatedBody    `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionNotificationBody

type SessionNotificationBody struct {
	DoorbotId            int                    `json:"doorbot_id" binding:"required"`
	SessionId            string                 `json:"session_id" binding:"required"`
	IsOk                 bool                   `json:"is_ok" binding:"required"`
	Text                 string                 `json:"text" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionNotificationFrame

type SessionNotificationFrame struct {
	Method               string                   `json:"method" binding:"required"`
	DialogId             string                   `json:"dialog_id" binding:"required"`
	Riid                 string                   `json:"riid,omitempty"`
	Body                 *SessionNotificationBody `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{}   `json:"-,omitempty"`
}

type SessionPingFrame

type SessionPingFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *SessionBody           `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

type SessionPongFrame

type SessionPongFrame struct {
	Method               string                 `json:"method" binding:"required"`
	DialogId             string                 `json:"dialog_id" binding:"required"`
	Riid                 string                 `json:"riid,omitempty"`
	Body                 *SessionBody           `json:"body" binding:"required"`
	AdditionalProperties map[string]interface{} `json:"-,omitempty"`
}

Jump to

Keyboard shortcuts

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