Documentation ¶
Index ¶
- Variables
- type VideoSwitcher
- func (vs *VideoSwitcher) GetHardwareInfo(ctx context.Context) (structs.HardwareInfo, error)
- func (vs *VideoSwitcher) GetInfo(ctx context.Context) (interface{}, error)
- func (vs *VideoSwitcher) GetInputByOutput(ctx context.Context, output string) (string, error)
- func (vs *VideoSwitcher) SetInputByOutput(ctx context.Context, output, input string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Config zap.Config
Config is the logger config used for P
View Source
var (
ErrOutOfRange = errors.New("input or output is out of range")
)
View Source
var Log *zap.SugaredLogger
P is a plain zap logger
Functions ¶
This section is empty.
Types ¶
type VideoSwitcher ¶ added in v0.0.7
func CreateVideoSwitcher ¶
func (*VideoSwitcher) GetHardwareInfo ¶ added in v0.0.7
func (vs *VideoSwitcher) GetHardwareInfo(ctx context.Context) (structs.HardwareInfo, error)
GetHardwareInfo .
func (*VideoSwitcher) GetInfo ¶ added in v0.0.7
func (vs *VideoSwitcher) GetInfo(ctx context.Context) (interface{}, error)
GetInfo .
func (*VideoSwitcher) GetInputByOutput ¶ added in v0.0.7
GetInputByOutput .
func (*VideoSwitcher) SetInputByOutput ¶ added in v0.0.7
func (vs *VideoSwitcher) SetInputByOutput(ctx context.Context, output, input string) error
SetInputByOutput .
Click to show internal directories.
Click to hide internal directories.