Files
mediadevices/driver.go
T
2020-02-14 12:22:03 -08:00

14 lines
425 B
Go

package mediadevices
import (
"github.com/pion/mediadevices/pkg/driver"
_ "github.com/pion/mediadevices/pkg/driver/camera"
_ "github.com/pion/mediadevices/pkg/driver/microphone"
_ "github.com/pion/mediadevices/pkg/driver/screen"
)
// RegisterDriverAdapter allows user space level of driver registration
func RegisterDriverAdapter(a driver.Adapter, label string) error {
return driver.GetManager().Register(a, label)
}