Documentation ¶
Index ¶
- Constants
- type KeyDigitalVideoSwitcher
- func (vs *KeyDigitalVideoSwitcher) GetHardwareInfo(ctx context.Context) (structs.HardwareInfo, error)
- func (vs *KeyDigitalVideoSwitcher) GetInfo(ctx context.Context) (interface{}, error)
- func (vs *KeyDigitalVideoSwitcher) GetInputByOutput(ctx context.Context, output string) (string, error)
- func (vs *KeyDigitalVideoSwitcher) SetInputByOutput(ctx context.Context, output, input string) error
Constants ¶
View Source
const ( CARRIAGE_RETURN = 0x0D LINE_FEED = 0x0A SPACE = 0x20 DELAY_BETWEEN_CONNECTIONS = time.Second * 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyDigitalVideoSwitcher ¶
func CreateVideoSwitcher ¶
func CreateVideoSwitcher(ctx context.Context, addr string) (*KeyDigitalVideoSwitcher, error)
func (*KeyDigitalVideoSwitcher) GetHardwareInfo ¶
func (vs *KeyDigitalVideoSwitcher) GetHardwareInfo(ctx context.Context) (structs.HardwareInfo, error)
GetHardwareInfo .
func (*KeyDigitalVideoSwitcher) GetInfo ¶
func (vs *KeyDigitalVideoSwitcher) GetInfo(ctx context.Context) (interface{}, error)
GetInfo .
func (*KeyDigitalVideoSwitcher) GetInputByOutput ¶
func (vs *KeyDigitalVideoSwitcher) GetInputByOutput(ctx context.Context, output string) (string, error)
GetInputByOutput .
func (*KeyDigitalVideoSwitcher) SetInputByOutput ¶
func (vs *KeyDigitalVideoSwitcher) SetInputByOutput(ctx context.Context, output, input string) error
SetInputByOutput .
Click to show internal directories.
Click to hide internal directories.