typedefs

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter added in v0.6.0

type Filter struct {
	FilterEnabled  bool           `json:"filterEnabled"`
	FilterIndex    int            `json:"filterIndex"`
	FilterKind     string         `json:"filterKind"`
	FilterName     string         `json:"filterName"`
	FilterSettings map[string]any `json:"filterSettings,omitempty"`
}

type Input added in v0.9.0

type Input struct {
	InputName            string `json:"inputName"`
	InputKind            string `json:"inputKind"`
	UnversionedInputKind string `json:"unversionedInputKind"`
}

type InputAudioTracks added in v0.9.0

type InputAudioTracks map[string]bool

type InputVolumeMeter added in v1.0.0

type InputVolumeMeter struct {
	Name   string       `json:"inputName"`
	Levels [][3]float64 `json:"inputLevelsMul"`
}

type KeyModifiers added in v0.9.0

type KeyModifiers struct {
	Shift   string `json:"face"`
	Control int    `json:"flags"`
	Alt     int    `json:"size"`
	Command string `json:"style"`
}

type Monitor added in v0.9.0

type Monitor struct {
	MonitorHeight    int    `json:"monitorHeight"`
	MonitorIndex     int    `json:"monitorIndex"`
	MonitorName      string `json:"monitorName"`
	MonitorPositionX int    `json:"monitorPositionX"`
	MonitorPositionY int    `json:"monitorPositionY"`
	MonitorWidth     int    `json:"monitorWidth"`
}

type Output added in v0.3.0

type Output struct {
	Name   string       `json:"outputName"`
	Kind   string       `json:"outputKind"`
	Width  int          `json:"outputWidth"`
	Height int          `json:"outputHeight"`
	Active bool         `json:"outputActive"`
	Flags  *OutputFlags `json:"outputFlags"`
}

type OutputFlags added in v1.0.0

type OutputFlags struct {
	Audio      bool `json:"OBS_OUTPUT_AUDIO"`
	Video      bool `json:"OBS_OUTPUT_VIDEO"`
	Encoded    bool `json:"OBS_OUTPUT_ENCODED"`
	MultiTrack bool `json:"OBS_OUTPUT_MULTI_TRACK"`
	Service    bool `json:"OBS_OUTPUT_SERVICE"`
}

type PropertyItem added in v0.9.0

type PropertyItem struct {
	ItemName    string `json:"itemName"`
	ItemEnabled bool   `json:"itemEnabled"`
	ItemValue   any    `json:"itemValue"`
}

type Scene

type Scene struct {
	SceneIndex int    `json:"sceneIndex"`
	SceneName  string `json:"sceneName"`
}

type SceneItem

type SceneItem struct {
	InputKind          string             `json:"inputKind"`
	IsGroup            bool               `json:"isGroup"`
	SceneItemBlendMode string             `json:"sceneItemBlendMode"`
	SceneItemEnabled   bool               `json:"sceneItemEnabled"`
	SceneItemID        int                `json:"sceneItemId"`
	SceneItemIndex     int                `json:"sceneItemIndex"`
	SceneItemLocked    bool               `json:"sceneItemLocked"`
	SceneItemTransform SceneItemTransform `json:"sceneItemTransform"`
	SourceName         string             `json:"sourceName"`
	SourceType         string             `json:"sourceType"`
}

type SceneItemBasic added in v1.0.0

type SceneItemBasic struct {
	SceneItemID    int `json:"sceneItemId"`
	SceneItemIndex int `json:"sceneItemIndex"`
}

type SceneItemTransform

type SceneItemTransform struct {
	Alignment       float64 `json:"alignment"`
	BoundsAlignment float64 `json:"boundsAlignment"`
	BoundsHeight    float64 `json:"boundsHeight"`
	BoundsType      string  `json:"boundsType"`
	BoundsWidth     float64 `json:"boundsWidth"`
	CropBottom      float64 `json:"cropBottom"`
	CropLeft        float64 `json:"cropLeft"`
	CropRight       float64 `json:"cropRight"`
	CropTop         float64 `json:"cropTop"`
	Height          float64 `json:"height"`
	PositionX       float64 `json:"positionX"`
	PositionY       float64 `json:"positionY"`
	Rotation        float64 `json:"rotation"`
	ScaleX          float64 `json:"scaleX"`
	ScaleY          float64 `json:"scaleY"`
	SourceHeight    float64 `json:"sourceHeight"`
	SourceWidth     float64 `json:"sourceWidth"`
	Width           float64 `json:"width"`
}

type StreamServiceSettings added in v0.9.0

type StreamServiceSettings struct {
	Bwtest   bool   `json:"bwtest"`
	Key      string `json:"key"`
	Password string `json:"password"`
	Server   string `json:"server"`
	UseAuth  bool   `json:"use_auth"`
	Username string `json:"username"`
}

type Transition added in v0.9.0

type Transition struct {
	TransitionConfigurable bool   `json:"transitionConfigurable"`
	TransitionFixed        bool   `json:"transitionFixed"`
	TransitionKind         string `json:"transitionKind"`
	TransitionName         string `json:"transitionName"`
}

Jump to

Keyboard shortcuts

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