Bug 1610775 [wpt PR 21336] - Update urllib3 to 1.25.8, a=testonly
[gecko.git] / dom / webidl / GetUserMediaRequest.webidl
blob6762f571a6c16c491147b452bc65ead4747dce1d
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * This is an internal IDL file
7  */
9 // for gUM request start (getUserMedia:request) notification,
10 // rawID and mediaSource won't be set.
11 // for gUM request stop (recording-device-stopped) notification due to page reload,
12 // only windowID will be set.
13 // for gUM request stop (recording-device-stopped) notification due to track stop,
14 // only windowID, rawID and mediaSource will be set
16 [NoInterfaceObject,
17  Exposed=Window]
18 interface GetUserMediaRequest {
19   readonly attribute unsigned long long windowID;
20   readonly attribute unsigned long long innerWindowID;
21   readonly attribute DOMString callID;
22   readonly attribute DOMString rawID;
23   readonly attribute DOMString mediaSource;
24   MediaStreamConstraints getConstraints();
25   readonly attribute boolean isSecure;
26   readonly attribute boolean isHandlingUserInput;