mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added getUserMedia declaration to use with adapter.js
This commit is contained in:
Vendored
+3
@@ -174,6 +174,9 @@ interface NavigatorGetUserMedia {
|
||||
errorCallback: (error: MediaStreamError) => void): void;
|
||||
}
|
||||
|
||||
// to use with adapter.js, see: https://github.com/webrtc/adapter
|
||||
declare var getUserMedia: NavigatorGetUserMedia;
|
||||
|
||||
interface Navigator {
|
||||
getUserMedia: NavigatorGetUserMedia;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user