mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-27 04:46:10 +08:00

* Update examples to import adapters explicitly * Remove default adapters to be imported implicitly
11 lines
268 B
Go
11 lines
268 B
Go
package mediadevices
|
|
|
|
import (
|
|
"github.com/pion/mediadevices/pkg/driver"
|
|
)
|
|
|
|
// RegisterDriverAdapter allows user space level of driver registration
|
|
func RegisterDriverAdapter(a driver.Adapter, info driver.Info) error {
|
|
return driver.GetManager().Register(a, info)
|
|
}
|