inquiry

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Basic inquiries from the main service to the modules
	InquiryInformation = "InquiryInformation" // called to request information from the system
	InquiryRender      = "InquiryRender"      // called to render the module
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InquiryInformationPayload

type InquiryInformationPayload struct {
	Type    int
	Payload any
}

type InquiryRenderPayload

type InquiryRenderPayload struct {
	Format  string // Format choosen, e.g. raw, H264, H265, Jpeg
	Channel string // IPC, PubSub, REST

	FPS  int           // FPS choosen for the video stream, e.g. 30, 60, must be bigger than 0
	Time time.Duration // Duration; FPS * Time = Animation length; optional zero value means until ringbuffer closes

	MaxFrameSize int           // max frame size, i.e. custom size, FullHD, 4K, in pixel. If zero, width*height is used. if it exceed screens maximum, it is croped.
	Timeout      time.Duration // Duration to context timeout on receiver site while waiting for new data. Max should be 1sec/FPS

	ObjectID int // uint32 id of the object to manipulate which already exist, if none given a new one is generated
}

Jump to

Keyboard shortcuts

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