Documentation ¶
Index ¶
- Constants
- type Response
- type TallyResponse
- type TallyStatus
- type Vmix
- func (v *Vmix) ClearTallyCallback()
- func (v *Vmix) Close()
- func (v *Vmix) FUNCTION(funcname string) (string, error)
- func (v *Vmix) QUIT() error
- func (v *Vmix) Register(command string, cb func(*Response)) error
- func (v *Vmix) RegisterTallyCallback(cb func(*TallyResponse))
- func (v *Vmix) SUBSCRIBE(command string) (string, error)
- func (v *Vmix) TALLY() (string, error)
- func (v *Vmix) UNSUBSCRIBE(command string) (string, error)
- func (v *Vmix) Unregister(command string) error
- func (v *Vmix) XML() (string, error)
Constants ¶
View Source
const ( EVENT_TALLY string = "TALLY" EVENT_FUNCTION string = "FUNCTION" EVENT_XML string = "XML" EVENT_XMLTEXT string = "XMLTEXT" EVENT_SUBSCRIBE string = "SUBSCRIBE" EVENT_UNSUBSCRIBE string = "UNSUBSCRIBE" EVENT_QUIT string = "QUIT" )
View Source
const (
// Terminate letter
Terminate = "\r\n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TallyResponse ¶
type TallyResponse struct { Status string Tally []TallyStatus }
TallyResponse TALLY Event response
type TallyStatus ¶
type TallyStatus uint
TallyStatus alias to uint
const ( Off TallyStatus = iota Program Preview )
func (TallyStatus) String ¶
func (i TallyStatus) String() string
type Vmix ¶
type Vmix struct {
// contains filtered or unexported fields
}
Vmix main object
func (*Vmix) ClearTallyCallback ¶
func (v *Vmix) ClearTallyCallback()
ClearTallyCallback clear callback for TALLY event.
func (*Vmix) RegisterTallyCallback ¶
func (v *Vmix) RegisterTallyCallback(cb func(*TallyResponse))
RegisterTallyCallback tally callback for TALLY event.
func (*Vmix) UNSUBSCRIBE ¶
UNSUBSCRIBE from event.
func (*Vmix) Unregister ¶
Unregister goroutine callback event
Source Files ¶
Click to show internal directories.
Click to hide internal directories.