devices

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoDeviceAvailable  = errors.New("loadSSDPservices: No available Media Renderers")
	ErrDeviceNotAvailable = errors.New("devicePicker: Requested device not available")
	ErrSomethingWentWrong = errors.New("devicePicker: Something went terribly wrong")
)

Functions

func DevicePicker

func DevicePicker(devices map[string]string, n int) (string, error)

DevicePicker will pick the nth device from the devices input map.

func LoadSSDPservices

func LoadSSDPservices(waitSec int) (map[string]string, error)

LoadSSDPservices returns a map with all the devices that support the AVTransport service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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