use mediastreamdevicescontroller from brightray to enumerate available devices
This commit is contained in:
parent
b575cd0ef9
commit
ff5fb512b8
2 changed files with 7 additions and 45 deletions
|
@ -400,7 +400,7 @@ void Session::SetCertVerifyProc(v8::Local<v8::Value> val,
|
|||
}
|
||||
|
||||
void Session::SetPermissionRequestHandler(v8::Local<v8::Value> val,
|
||||
mate::Arguments* args) {
|
||||
mate::Arguments* args) {
|
||||
AtomPermissionManager::RequestHandler handler;
|
||||
if (!(val->IsNull() || mate::ConvertFromV8(args->isolate(), val, &handler))) {
|
||||
args->ThrowError("Must pass null or function");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue