Files
mediadevices/pkg/driver/const.go
Lukas Herman 504b542376 Add DeviceType to Info and a filter function for it
* Add DeviceType to Info
* Update adapters to also register its device type
* Add FilterDeviceType
2020-02-14 12:22:03 -08:00

15 lines
353 B
Go

package driver
// DeviceType represents human readable device type. DeviceType
// can be useful to filter the drivers too.
type DeviceType string
const (
// Camera represents camera devices
Camera DeviceType = "camera"
// Microphone represents microphone devices
Microphone = "microphone"
// Screen represents screen devices
Screen = "screen"
)