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 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
}
Click to show internal directories.
Click to hide internal directories.