mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-23 00:07:29 +08:00
comments: var block + interface-less error
This commit is contained in:
committed by
Clyde Bazile
parent
8568b1b20d
commit
2372f55064
@@ -353,7 +353,7 @@ func (c *camera) Properties() []prop.Media {
|
||||
return properties
|
||||
}
|
||||
|
||||
func (c *camera) IsAvailable() (bool, availability.Error) {
|
||||
func (c *camera) IsAvailable() (bool, error) {
|
||||
var err error
|
||||
|
||||
// close the opened file descriptor as quickly as possible and in all cases, including panics
|
||||
|
||||
Reference in New Issue
Block a user