streamdeck-obs-replay/obsws/events_general.go

45 lines
1.5 KiB
Go

package obsws
// This file is automatically generated.
// https://github.com/christopher-dG/go-obs-websocket/blob/master/codegen/protocol.py
// HeartbeatEvent : Emitted every 2 seconds after enabling it by calling SetHeartbeat.
//
// https://github.com/Palakis/obs-websocket/blob/4.3-maintenance/docs/generated/protocol.md#heartbeat
type HeartbeatEvent struct {
// Toggles between every JSON message as an "I am alive" indicator.
// Required: Yes.
Pulse bool `json:"pulse"`
// Current active profile.
// Required: No.
CurrentProfile string `json:"current-profile"`
// Current active scene.
// Required: No.
CurrentScene string `json:"current-scene"`
// Current streaming state.
// Required: No.
Streaming bool `json:"streaming"`
// Total time (in seconds) since the stream started.
// Required: No.
TotalStreamTime int `json:"total-stream-time"`
// Total bytes sent since the stream started.
// Required: No.
TotalStreamBytes int `json:"total-stream-bytes"`
// Total frames streamed since the stream started.
// Required: No.
TotalStreamFrames int `json:"total-stream-frames"`
// Current recording state.
// Required: No.
Recording bool `json:"recording"`
// Total time (in seconds) since recording started.
// Required: No.
TotalRecordTime int `json:"total-record-time"`
// Total bytes recorded since the recording started.
// Required: No.
TotalRecordBytes int `json:"total-record-bytes"`
// Total frames recorded since the recording started.
// Required: No.
TotalRecordFrames int `json:"total-record-frames"`
_event `json:",squash"`
}