obs

package
v0.0.0-...-198801e Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instance

func Instance() *node.Raw

Types

type Client

type Client struct {
	*goobs.Client
	Addr          string
	Password      string
	StudioVersion string
	ServerVersion string
	// contains filtered or unexported fields
}

func (*Client) ComponentAttached

func (c *Client) ComponentAttached(com node.Node)

func (*Client) Nodes

func (c *Client) Nodes(com manifold.Node) node.Nodes

func (*Client) OnDisabled

func (c *Client) OnDisabled()

func (*Client) OnEnabled

func (c *Client) OnEnabled()

type Configuration

type Configuration struct {
	Client          *Client
	Profile         string
	SceneCollection string
}

func (*Configuration) Nodes

func (c *Configuration) Nodes(com manifold.Node) node.Nodes

func (*Configuration) OnDisabled

func (c *Configuration) OnDisabled()

func (*Configuration) OnEnabled

func (c *Configuration) OnEnabled()

type InputList

type InputList struct {
	Client *Client
}

func (*InputList) Nodes

func (il *InputList) Nodes(com manifold.Node) (nodes node.Nodes)

type InputTypeList

type InputTypeList struct {
	Client *Client
}

func (*InputTypeList) Nodes

func (it *InputTypeList) Nodes(com manifold.Node) (nodes node.Nodes)

type OutputList

type OutputList struct {
	Client *Client
}

func (*OutputList) Nodes

func (ol *OutputList) Nodes(com manifold.Node) (nodes node.Nodes)

type Profile

type Profile struct {
	Name string
}

type ProfileList

type ProfileList struct {
	Client *Client
}

func (*ProfileList) Nodes

func (p *ProfileList) Nodes(com manifold.Node) (nodes node.Nodes)

type Scene

type Scene struct {
	UUID    string
	Name    string
	Index   int
	Program bool
	Preview bool
}

func (Scene) GetID

func (r Scene) GetID() string

func (Scene) GetName

func (r Scene) GetName() string

type SceneCollection

type SceneCollection struct {
	Name string
}

type SceneCollectionList

type SceneCollectionList struct {
	Client *Client
}

func (*SceneCollectionList) Nodes

func (sc *SceneCollectionList) Nodes(com manifold.Node) (nodes node.Nodes)

type SceneItemList

type SceneItemList struct {
	Client    *Client
	SceneName string
}

func (*SceneItemList) Nodes

func (sil *SceneItemList) Nodes(com manifold.Node) (nodes node.Nodes)

type SceneList

type SceneList struct {
	Client *Client // todo: find better way to setup SceneItemList
	// contains filtered or unexported fields
}

func (*SceneList) AddNode

func (l *SceneList) AddNode(typ string, parent manifold.Node, oldView string) (bool, error)

func (*SceneList) CanAddNode

func (l *SceneList) CanAddNode() []string

func (*SceneList) Nodes

func (l *SceneList) Nodes(com manifold.Node) (nodes node.Nodes)

Jump to

Keyboard shortcuts

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