Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 2bba22f

Browse files
committed
test user media
1 parent 18485d8 commit 2bba22f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/browser/webapis-user-media.ts

+2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
return function() {
1111
const args = Array.prototype.slice.call(arguments);
1212
const wrappedArgs = api.bindArguments(args, source ? source : (func as any).name);
13+
console.log('Zone wrap getUserMedia', Zone.current.name);
1314
return func.apply(this, wrappedArgs);
1415
};
1516
}
1617
let navigator = global['navigator'];
1718
if (navigator && navigator.getUserMedia) {
1819
navigator.getUserMedia = wrapFunctionArgs(navigator.getUserMedia);
20+
console.log('patch navigator.getUserMedia', navigator.getUserMedia.toString());
1921
}
2022
});

0 commit comments

Comments
 (0)